monotone - Bugs: bug #18317, Local tags
You are not allowed to post comments on this tracker with your current authentication level.
bug #18317: Local tags
Submitter: | None | ||
Submitted: | Fri 17 Nov 2006 12:18:08 AM UTC | ||
Category: | None | Severity: | 3 - Normal |
Item Group: | feature request | Status: | None |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Open | ||
mtn version --full: | monotone 0.28 (révision de base : 8c6ce7cb2ccd21290b435e042c2be4554ec6a048)
|
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Powered by Savane 3.13-3230.
Corresponding source code
It would be nice if Monotone supported local tags like Mercurial and git do. A local tag is one that is never sent to a remote database via sync or push.
One use of local tags is to keep track of "what changed since I last pulled", e.g.
$ mtn tag --local h: my_last_pull
$ mtn pull
$ mtn diff -r t:my_last_pull h:
As a side benefit, it would also make it easy to move the tag after pulling, i.e.
$ mtn db kill_tag_locally my_last_pull
$ mtn tag --local h: my_last_pull
Furthermore, it would be nice if it were possible to promote a local tag to a regular one. Suggested command:
$ mtn publish_tag tag-name
# the tag will be sent when we next push
The reverse operation, "demoting" a tag, doesn't have any obvious benefits, and since it would only be possible before pushing, the implementation requires keeping track of the latest push in the database. I don't think the functionality would be worth the effort.