[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cvs update
Re: cvs update
Wed, 01 Mar 2006 10:35:54 -0500
Mozilla Thunderbird 1.0.6 (Windows/20050716)
-----BEGIN PGP SIGNED MESSAGE-----
Martin Jørgensen wrote:
> Actually I'm the only user on that project, but I'm working on several
> machines... report.log is a file which is not important. I don't care
> about that file (generated by latex).
Then why are you keeping it in CVS? Log files are generally not useful
items to keep version-controlled.
> I thought committing meant: Merge my work. And updating meant: Get
> changes since the last time and update all local files.
No. Committing means "take what I have locally, and put an exact replica
of this file into the repository."
Merging is part of updating: "get any change from the repository, and if
someone else has changed the file, incorporate their changes into mine."
> If I didn't delete this file report.log, how else could I manually fix
> the problem with merging? It's giving me some kind of list (diff I
> think) which I don't understand because I've never worked with diff
'update -C' will fetch a fresh copy without merging. However, you should
specify exactly which files to do this to, otherwise you could lose your
local changes. Well, they won't be permanently lost: the original file
will be renamed to the '.#' file name.
Either that, or as I said, 'cvs remove' the log file and don't bother
Dreampossible: Better software. Simply. http://www.dreampossible.ca
Consulting * Mentoring * Training in
C/C++ * OOD * SW Development & Practices * Version Management
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----