[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 6453 - in trunk/tools/cvs2svn: . test-data/bogus-tag-cvsrepos test-data/bogus-tag-cvsrepos/CVSROOT

From: Max Bowsher <maxb_at_ukf.net>
Date: 2003-07-12 16:59:31 CEST

mark benedetto king wrote:
...
> Some quick testing shows me that my CVS (1.10 'Halibut') does indeed
> allow '/' in tags.
>
> Here are some interesting messages, though:
>
> $ cvs tag . foo
> cvs [tag aborted]: tag `.' must start with a letter
>
> $ cvs tag a. foo
> cvs [tag aborted]: tag `a.' must not contain the characters `$,.:;@'
>
>
> This is unfortunate, since unix filesystems do not allow '/' in filenames,
> and we like to lay things out as .../tags/tagname/.
>
> I see a few options:
>
> 1.) catch the '/' and throw a fatal error, recommending that the user
> does "cvs rtag -r old/bad/tag/name new_spiffy_tag_name module" and
> tries again.
>
> 2.) catch the '/' and throw a fatal error, unless a "tag name mapping"
> file/option is present that lets cvs2svn know what to use instead
>
> 3.) map the '/' to another character. I propose '.', in particular,
> because it is not allowed in CVS tag names, so this mapping
> will not cause any collisions.

Dots at the end of the filename don't work on Windows.
If option 3 is chosen, please could one of the other invalid characters be
used? Maybe ','?

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jul 12 17:00:36 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.