[cvsnt] one time checkout files
Gerhard Fiedler
lists at connectionbrazil.com
Sat Sep 16 22:57:54 BST 2006
Glen Starrett wrote:
> You might want to look at the substitution mode "s" as well.
>
> http://www.cvsnt.org/manual/html/Substitution-modes.html
> >>>>
> s
>
> File is never considered modified on the client. A normal commit
> will never commit this file, unless -f is used to force it. Use with
> care, and for files that change infrequently, since local changes will
> be lost on update.
> <<<<
>
> Not sure if that's what your or the OP is looking for, but it might be
> useful (e.g. just make the 'templates' have the same name as your config
> files and you're set to modify them as needed directly).
>
> That doesn't apply to the OP's update side though, I would guess the
> updates might be merged into the file if there's a new version of the
> 'template' released, but it's something to look at.
Maybe adding the file as 'bs' (adding option b for binary to the option s)
helps. In this case, it won't get merged on update to a newer version, and
after the update, you have both your old version and the clean new version
available in the sandbox.
Gerhard
More information about the cvsnt
mailing list