Mercurial > hg
view tests/test-up-issue1456 @ 7655:cce37dab7ad6
branch closing: mark closed branches with a 'close' extra
Adds a --close-branch option to commit.
When --close-branch is present the commit will mark the changeset
with close=1 in the changeset extras field.
If a regular changeset is added on top of a closed head the branch
is no longer considered closed, and thus re-opened.
author | John Mulligan <phlogistonjohn@asynchrono.us> |
---|---|
date | Wed, 14 Jan 2009 21:47:38 -0500 |
parents | a679bd371091 |
children | f331de880cbb |
line wrap: on
line source
#!/bin/sh rm -rf a hg init a cd a echo foo > foo hg ci -qAm0 chmod +x foo hg ci -m1 hg co -q 0 echo dirty > foo sleep 1 hg up -q cat foo hg st -A echo '% validate update of standalone execute bit change' hg up -C 0 chmod -x foo hg ci -m removeexec hg up -C 0 hg up hg st