Mercurial > hg
comparison mercurial/hgweb/hgweb_mod.py @ 17770:6c81b8ebf66e
bookmarks: when @ bookmark diverges, don't double the @ sign (BC)
This changeset treats the bookmark "@" as a special case for the naming of
divergent bookmarks, as per the tables below. For the <no alias> case, the
actual suffix will vary, depending on what suffixes are already in use.
Before:
Bookmark | Remote | Divergent Bookmark
--------------------------------------
foo | bar | foo@bar
foo | <no alias> | foo@1
@ | bar | @@bar
@ | <no alias> | @@1
After:
Bookmark | Remote | Divergent Bookmark
--------------------------------------
foo | bar | foo@bar
foo | <no alias> | foo@1
@ | bar | @bar
@ | <no alias> | @1
This case is likely to be more common now that 92980a8dfdfe has made the "@"
bookmark have special meaning to clone.
The change in behavior was discussed on the mailing list in the thread below:
http://markmail.org/thread/rwedgxp7le5j2h2f
author | David M. Carr <david@carrclan.us> |
---|---|
date | Mon, 15 Oct 2012 23:54:54 -0400 |
parents | d94c470c3deb |
children | bebb05a7e249 |
comparison
equal
deleted
inserted
replaced
17769:8672e615d81c | 17770:6c81b8ebf66e |
---|