Mercurial > hg-stable
view tests/helpers.sh @ 11063:eb23c876c111
tag: warn users about tag/branch possible name conflicts
As reported recently, Mercurial users can easily find confusion when
using a common name for a tag and a branch. It seems reasonable to warn
them about this potential outcome, to avoid that "surprise".
* Explain briefly the issue in "hg help tag"
* Warn when tagging a revision
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Mon, 19 Apr 2010 17:41:12 +0900 |
parents | 0065e6b42a25 |
children | b345b1cc124f |
line wrap: on
line source
#/bin/sh hideport() { sed "s/localhost:$HGPORT/localhost:\$HGPORT/"; } repr() { python -c "import sys; print repr(sys.stdin.read()).replace('\\n', '\n')" } hidehex() { python -c 'import sys, re; print re.replace("\b[0-9A-Fa-f]{12,40}", "X" * 12)' } hidetmp() { sed "s/$HGTMP/\$HGTMP/"; }