Discussion:
Tricky update
s***@o2.pl
2009-02-13 09:58:37 UTC
Permalink
I'm looking for a way to make an update on a project with a single
command(it would be nice if it was just a "cvs update") which makes a
regular update(-Pd) for almost all of the files in project and
overwrite update(-C) for a small subset of all files. The goal is that
the end user of repository does not have to do these updates manually
Spiro Trikaliotis
2009-02-14 10:07:30 UTC
Permalink
Hello,
Post by s***@o2.pl
I'm looking for a way to make an update on a project with a single
command(it would be nice if it was just a "cvs update") which makes a
regular update(-Pd) for almost all of the files in project and
overwrite update(-C) for a small subset of all files. The goal is that
the end user of repository does not have to do these updates manually
Isn't a script a viable solution?

Best regards,
Spiro.
--
Spiro R. Trikaliotis http://opencbm.sf.net/
http://www.trikaliotis.net/ http://www.viceteam.org/
Arthur Barrett
2009-02-14 18:57:20 UTC
Permalink
Post by s***@o2.pl
I'm looking for a way to make an update on a project with a single
command(it would be nice if it was just a "cvs update") which makes a
regular update(-Pd) for almost all of the files in project and
overwrite update(-C) for a small subset of all files. The goal is that
the end user of repository does not have to do these updates manually
In CVSNT (GPL like CVS, runs in linux like CVS) you'd set the 'small
number of files' to be 'static' with cvs update -ks filename.ext; cvs ci
-f -m "change to static" filename.ext. This is a special CVSNT
keyword-mode that means that whenever the file changes all users should
get the change - however when a user makes a change to a static file it
is not committed to the repository in the 'normal' way (you need to do a
'force commit').
http://www.cvsnt.org/manual/html/Substitution-modes.html

In CVS I don't know how you'd do this.

Regards,


Arthur
Socki
2009-02-16 12:34:57 UTC
Permalink
Thank you for answering. Keeping original cvs is required so I will
consider using some kind of a script.

Thank you again,
Kamil Wysocki

Loading...