Mercurial > public > mercurial-scm > hg
diff tests/test-tag.t @ 16680:d0e419b0f7de stable
tag: run commit hook when lock is released (issue3344)
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Sat, 12 May 2012 20:06:02 +0200 |
parents | fc8c7a5ccc4a |
children | 5b89700cce30 |
line wrap: on
line diff
--- a/tests/test-tag.t Sat May 12 20:25:33 2012 +0200 +++ b/tests/test-tag.t Sat May 12 20:06:02 2012 +0200 @@ -300,3 +300,16 @@ t3 1:c3adabd1a5f4 local $ cd .. + +commit hook on tag used to be run without write lock - issue3344 + + $ hg init repo-tag + $ hg init repo-tag-target + $ hg -R repo-tag --config hooks.commit="hg push \"`pwd`/repo-tag-target\"" tag tag + pushing to $TESTTMP/repo-tag-target + searching for changes + adding changesets + adding manifests + adding file changes + added 1 changesets with 1 changes to 1 files +