#3 CVS allows only a subset of RCS within TAG names.

closed-fixed
nobody
None
5
2004-08-30
2004-07-07
No

http://durak.org/cvswebsites/doc/cvs_48.php#SEC48

Tag names must start with an uppercase or lowercase
letter and can contain uppercase and lowercase letters,
digits, `-', and `_'. The two tag names BASE and HEAD
are reserved for use by CVS. It is expected that future
names which are special to CVS will be specially named,
for example by starting with `.', rather than being named
analogously to BASE and HEAD, to avoid conflicts with
actual tag names.

fix_tags.pl:

Change: search for <space>TAG:REVISION where TAG
starts with a number and prepend a small 'v' on match

*** fix_tags_orig.pl 2004-05-21 09:48:56.000000000
+0200

--- fix_tags.pl 2004-05-21 11:07:15.000000000 +0200

***************

*** 82,85 ****

--- 82,86 ----

$foo =~ s/\%20/-/g;

$foo =~ s/\%2E/_/g;

+ $foo =~ s/(\s)(\d[^:]*:[^\s]+)/\1v\2/g;

#print "< ", $_;

#print "> ", $foo;

***************

*** 91,94 ****

--- 92,96 ----

$foo =~ s/\%20/-/g;

$foo =~ s/\%2E/_/g;

+ $foo =~ s/(\s)(\d[^:]*:[^\s]+)/\1v\2/g;

if ( /\%/ ) {

#print "< ", $_;

Discussion

  • Phil Rittenhouse

    Logged In: YES
    user_id=601682

    This was originally submitted by Manuel Klimek
    [globbi@users.sourceforge.net]

     
  • Phil Rittenhouse

    • status: open --> closed-fixed
     
  • Phil Rittenhouse

    Logged In: YES
    user_id=601682

    This bug is fixed in version 1.3 of fix_tags.pl

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks