'cvs update -C' works differently when called inside loginfo.  Maybe 
some kind soul can point me at why this is so.

Our site makes use of the auto-update mechanism for part of our website 
as described in the Cederqvist et al manual 
[http://www.cvshome.org/docs/manual/cvs_18.html#SEC163].

Our problem is that files get checked in w/o their being based on the 
immediate ancestor so often there are merge conflicts.  Since the 
auto-exported directory is sitting under a webserver, having files w/ 
merge conflicts in them is undesirable.  I thought I could just add a 
'-C' to the 'cvs update -d' in our loginfo.  The '-C' seemed to work as 
desired when tried on the command line, but its behavior is otherwise 
when called inside loginfo.


Here is what I see when I do a 'cvs update -d' (The repository is via 
pserver):

[stack@sc-test3 master]$ cvs update -C Footer.wm
(Locally modified Footer.wm moved to .#Footer.wm.1.24)
U Footer.wm


Here is what I see after adding the '-C' flag to loginfo:

...
Checking in Footer.wm;
/usr/local/tigris/data/helm/cvs/repository/look/www/master/Footer.wm,v 
<--  Footer.wm
new revision: 1.25; previous revision: 1.24
done
1 file(s) commited
Processing log script arguments...
Mailing the commit message to [EMAIL PROTECTED] (from [EMAIL PROTECTED])
cvs update: Updating .
...
cvs update: Updating master
RCS file: /cvs/look/www/master/Footer.wm,v
retrieving revision 1.24
retrieving revision 1.25
Merging differences between 1.24 and 1.25 into Footer.wm
rcsmerge: warning: conflicts during merge
cvs update: conflicts found in master/Footer.wm
C master/Footer.wm
...

Why is it applying a patch when I explicitly want it to ignore what is 
on disk and just pull from the repository?

Thanks for any pointers.

St.Ack


_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to