Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: CVS mangles $Log statement (dumb)

by robartes (Priest)
on Jun 05, 2004 at 12:05 UTC ( #361512=note: print w/replies, xml ) Need Help??

in reply to CVS mangles $Log statement (dumb)

As an alternative to broquaint's suggestion, you could always pass -ko to the cvs commands. This quickly becomes a pain though, so perhaps a wrapper script around the cvs binary that adds this flag to each incantation might help. broquaint's solution, however, is the more elegant one.


Replies are listed 'Best First'.
Re^2: CVS mangles $Log statement (dumb)
by The Mad Hatter (Priest) on Jun 05, 2004 at 12:57 UTC
    Instead of a wrapper script, one could make use of the $HOME/.cvsrc configuration file:
    cvs -ko # any other command specific options here
Re^2: CVS mangles $Log statement (dumb)
by Anonymous Monk on Jun 05, 2004 at 16:28 UTC

    You only need to do this once, by using the 'cvs admin' command. This sets the file to not expand keywords when checked out. It only needs to be set once, instead of with every checkout command.

    This alleviates having to make a wrapper script, or putting it into .cvsrc, either of which really mean you have to decide to expand keywords (or not) globally. Setting it via 'cvs admin' means you can decide file by file, which is often much more correct for the contents of your repository.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://361512]
[Discipulus]: your cat is dryarian holli
[holli]: not even remotely KurtZ. i did find feathers in the garden a few times though
[holli]: yet no body
[virtualsue]: I was called upon to remove a gnawed mouse carcass from the living room this morning
holli googles dryarian just to make sure that isn't actually thing
[holli]: I mean, you never know, right?
[shmem]: good $localtime monkses
[holli]: mmh. maybe a user handle "dry arian" is a bit unfortunate? https://www. dryarian/
[Discipulus]: exists!
[shmem]: holli, agreed. "dry airan" would be slightly better :P

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (9)
As of 2017-11-21 12:47 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (301 votes). Check out past polls.