Forest Tags?

Roman Kennke roman.kennke at aicas.com
Thu May 29 16:09:38 UTC 2008


Hey, I have a very first prototype of this idea, which can already
create tags and update a forest to a tag. Find the patch (against the
forest extension) attached. Please let me know what you think. In the
meantime I will implement removing of tags, and tracking of tags in the
repository. Plus some documentation of course.


Cheers, Roman


Am Mittwoch, den 28.05.2008, 11:54 +0200 schrieb Roman Kennke:
> Hi there,
> 
> I maintain a forest here, and need something like tagging functionality.
> hg tag does not seem suitable here (although, I can script it to walk
> trees and tag all of them, or even write an extension to do this, but
> it's still ugly). hg fsnap and fseed look very promising. What I'm
> implementing so far is a directory inside the top-level repository,
> which contains a bunch of snapshot files (my 'tags). Now, when I want to
> check out a specific 'tag', I can fseed the corresponding file. I think,
> I could even script this, so I have almost no fuzz with this.
> 
> Spinning this idea further, I'm thinking that would actually be great to
> implement as part of the forest extension. I imagine a command ftag (or
> similar), which would create a snapshot file (with the name of the
> 'tag', put it into an .ftags dir, where it is tracked automatically,
> etc. fupdate (or maybe a new command) would then always look at the tip
> revision of that dir, regardless of the current working directory
> parent. All very similar to hg tag, only that it creates snapshot files,
> instead of an entry in .hgtags. What do you think, does that sound
> reasonable?
> 
> /Roman
> 
-- 
Dipl.-Inform. (FH) Roman Kennke, Software Engineer, http://kennke.org
aicas Allerton Interworks Computer Automated Systems GmbH
Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany
http://www.aicas.com   * Tel: +49-721-663 968-0
USt-Id: DE216375633, Handelsregister HRB 109481, AG Karlsruhe
Geschäftsführer: Dr. James J. Hunt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 3564 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20080529/3b9ba650/attachment-0003.bin>


More information about the Mercurial mailing list