RE: Resetting Sticky Option and Expansion Option
"Arthur Barrett" <[email protected]> Tue, 24 Aug 2010 12:08:02 +1100
| Newsgroups | gmane.comp.version-control.cvs.gui.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Mike,
> Somehow, one of our WinCVS files got into an undesired state
> in WinCVS. At one point it was a Unicode binary file in WinCVS,
> and after some work, we got it to be a Text file, but with
> the option field set to "-kt".
This does not really appear to be a question about WinCVS. WinCVS is a
GUI and it uses CVSNT to do everything except display the menus and
pictures.
> cvs version
> Client: Concurrent Versions System (CVSNT) 2.5.03 (Scorpio)
> Build 2382 (client/server)
> Server: Concurrent Versions System (CVSNT) 2.5.03 (Scorpio)
> Build 2382 (client/server)
This version is several years old, has hundreds of known bugs and also
at least one serious security issue:
http://march-hare.com/cvspro/security.htm
Changes from 2.5.03.2382 to 2.5.03 SP2 (CVS Suite 2008):
http://www.march-hare.com/cvspro/?pdf=d
Changes from 2.5.03.2382 to 2.8.01 (CVS Suite 2009):
http://www.march-hare.com/cvspro/?pdf=q
> cvs status -v -- "Signal - RESTRICTING - Absolute.xml" (in
> directory C:\Projects\system_test\UPRR\)
> ===================================================================
> File: Signal - RESTRICTING - Absolute.xml Status: Up-to-date
>
> Working revision: 1.40
> Repository revision: 1.40
> /wre/system_test/UPRR/Signal - RESTRICTING - Absolute.xml,v
> Expansion option: t
> Commit Identifier: 64a94c6aa93f1a68
> Sticky Tag: (none)
> Sticky Date: (none)
> Sticky Options: v
> Merge From: (none)
Unicode files (UCS-2) should use the expansion option u:
http://march-hare.com/library/cvsnt/Substitution-modes.html
> As it is, expansion of the $Revision$ keyword is not working
> for this particular file as it does for the others.
Keywords are only expanded in files with 'k' and 'v' (see above
documentation).
To change a file from 't' to 'ukv' use:
cvs up -k ukv "Signal - RESTRICTING - Absolute.xml"
cvs ci -f -m "change to unicode/keywords" "Signal - RESTRICTING -
Absolute.xml"
> I've tried various "cvs admin" and "cvs update" commands, but
> I have not been able to reset those fields.
The 'cvs admin' command is for the developers of CVSNT to use and noone
else. Use this option at your own peril and only ever after performing
a backup of the repository.
>
> "cvs update -kkv" on the file give an error about unknown options.
Upgrade your client and server to the latest releases.
Regards,
Arthur Barrett
Product Manager
CVSNT Project
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/cvsgui/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/cvsgui/join
(Yahoo! ID required)
<*> To change settings via email:
[email protected]
[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/