[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to update a directory recursive while not merge local modified f
Re: how to update a directory recursive while not merge local modified file
Thu, 02 Mar 2006 22:57:20 -0500
Mozilla Thunderbird 1.0.6 (Windows/20050716)
-----BEGIN PGP SIGNED MESSAGE-----
> I want to update a directory recursive, and those file that other
> modified but I not modify should be updated, all those file that I
> modified do not merge automaticly, how to do that?
You can't. Not with CVS, with a single command, at least. You could
specify each file to update, but that's a lot of work.
> Why I want to do that? because this action could simulate ClearCase's
> dynamic view, those checkout file in clearcase(like modified file in
> cvs) keep seperate from other's modify, those not checkout file in
> clearcase(like checkout file but not modified in cvs) keep
> synchronize with other's modify(I could update module every morning
> in cvs use the way I asked), I think this is meaningful.
I don't. I think that is actually a very bad idea.
Suppose I'm working on a C source file. Someone else modifies a
different part of that file, plus a different file that I haven't
modified, and checks in those changes. If I were to update using your
scenario, I would only get half the changes made by the other person -
and the chances are my program will no longer compile.
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-----