Re: anthill - subversion tags and versions (period not an underscore)

Jim Hague <[email protected]> Sat, 16 Feb 2008 11:48:59 +0000
Newsgroups gmane.comp.java.anthill
Message-ID <[email protected]>
On Saturday 16 February 2008 00:40:34 Kenneth Burgener wrote:
> I am running into a minor, but annoying problem when trying to use the
> "Subversion Tagging" with the "Versioned Build" feature.
> [...]
> I noticed when I use the "Subversion Tagging" it creates a tag, in
> subversion, with the "." periods replaced with "_" underscores (ie.
> 1_1_1).  Which is not what I expected.  If I tell the "Versioned Build"
> to build "1_1_1" the build is successful.  I may have a way around the
> problem, but this is obviously very confusing when using the Anthill
> interface.  Is this a known problem?  Can the tagging feature be easily
> fixed to produce a tag with exactly what my version file has?

As I think you have guessed, this is a straightforward cockup. The version is 
edited when making the tag, but the same edit is not done when checking out a 
versioned copy.

The characters '$,.:;@' are all converted to '_', I think because of some 
vague notion that you might check out the tags tree at some point and they 
might cause problems with some filesystems. Including '.' is probably 
unnecessarily conservative.

I am inclined to both fix this - run the version label through the same edit 
on checkout - and to remove '.' (and maybe ',' and ';') from the troublesome 
characters. Any thoughts?
-- 
Jim Hague - [email protected]          Never trust a computer you can't lift.