monotone

Issue 55: Local tags

Reported by Unknown User, Nov 17, 2006

(This entry was imported from the savannah tracker, original 
location: https://savannah.nongnu.org/bugs/index.php?18317)

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.

monotone version:
-----------------
monotone 0.28 (révision de base : 
8c6ce7cb2ccd21290b435e042c2be4554ec6a048)
Running on          : Linux 2.6.17-2-686 #1 SMP Wed Sep 13 16:34:10 
UTC 2006 i686
C++ compiler        : GNU C++ version 4.0.4 20060507 (prerelease) 
(Debian 4.0.3-3)
C++ standard library: GNU libstdc++ version 20060507
Boost version       : 1_33_1
Changes since base revision:
format_version "1"

new_manifest [6bca3c28a58c29d6188e51a503ec128e3b6558a4]

old_revision [8c6ce7cb2ccd21290b435e042c2be4554ec6a048]

patch "po/de.po"
 from [27be6241b1cd164e736f9c692e098b8c7e39ef9f]
   to [bb2ccd98fe391e33cb407136d92fd40681061289]

patch "po/fr.po"
 from [ba8591754e834e5116692184360e04dba26ae1b4]
   to [600e3aa48e4c1c7d3c94f4965ea8ad8a654ab2ad]

patch "po/it.po"
 from [966f84dcd0cfce77f0dc5f0a9720e7379101f14d]
   to [ebcbe3e33dcdd3617ef119051b2d39d6fd4a1c07]

patch "po/ja.po"
 from [0a68d3ac08007a2eddf9b7aed9334f247358e719]
   to [c0ad09847f64466bc65efd642bfa412d8d3206ba]

patch "po/pt_BR.po"
 from [8dc5e53db87e7a4f0ad908e34bd7ebf027f85e3c]
   to [9f56fe23030a1111ea521117614e7d521aa50540]

patch "po/sv.po"
 from [8b91f4a0508dbb6bcfc252f9ce17ae7f3705e634]
   to [adca3d0d442d71d10cd223433ac384ff739b012d]

  Generated from data cached in the distribution;
  further changes may have been made.

Comment 1 by Unknown User, May 9, 2008

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:
[http://www.youtube.com/user/KristinOrlistat xenical], [
http://www.youtube.com/user/thepropecia propecia], [
http://www.youtube.com/user/CindyGarman clomid], [
http://www.youtube.com/JackGillOnline buy viagra online]

Created: 18 years 1 month ago by Unknown User

Updated: 16 years 7 months ago

Status: New

Labels:
Type:Feature Request
Component:Other
Priority:Medium

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status