Show More
@@ -1785,8 +1785,10 b' class localrepository(object):' | |||
|
1785 | 1785 | return False |
|
1786 | 1786 | self.ui.debug('pushing key for "%s:%s"\n' % (namespace, key)) |
|
1787 | 1787 | ret = pushkey.push(self, namespace, key, old, new) |
|
1788 | self.hook('pushkey', namespace=namespace, key=key, old=old, new=new, | |
|
1789 | ret=ret) | |
|
1788 | def runhook(): | |
|
1789 | self.hook('pushkey', namespace=namespace, key=key, old=old, new=new, | |
|
1790 | ret=ret) | |
|
1791 | self._afterlock(runhook) | |
|
1790 | 1792 | return ret |
|
1791 | 1793 | |
|
1792 | 1794 | def listkeys(self, namespace): |
@@ -24,6 +24,7 b' enable obsolescence' | |||
|
24 | 24 | > b2x-pretransactionclose.tip = hg log -r tip -T "pre-close-tip:{node|short} {phase} {bookmarks}\n" |
|
25 | 25 | > b2x-transactionclose.tip = hg log -r tip -T "postclose-tip:{node|short} {phase} {bookmarks}\n" |
|
26 | 26 | > b2x-transactionclose.env = sh -c "HG_LOCAL= python \"$TESTDIR/printenv.py\" b2x-transactionclose" |
|
27 | > pushkey= echo pushkey: lock state after \"\$HG_NAMESPACE\"; hg debuglock | |
|
27 | 28 | > EOF |
|
28 | 29 | |
|
29 | 30 | The extension requires a repo (currently unused) |
@@ -167,6 +168,12 b' push' | |||
|
167 | 168 | pushing to other |
|
168 | 169 | searching for changes |
|
169 | 170 | pre-close-tip:eea13746799a public book_eea1 |
|
171 | pushkey: lock state after "phases" | |
|
172 | lock: free | |
|
173 | wlock: free | |
|
174 | pushkey: lock state after "bookmarks" | |
|
175 | lock: free | |
|
176 | wlock: free | |
|
170 | 177 | postclose-tip:eea13746799a public book_eea1 |
|
171 | 178 | b2x-transactionclose hook: HG_BOOKMARK_MOVED=1 HG_BUNDLE2-EXP=1 HG_NEW_OBSMARKERS=1 HG_NODE=eea13746799a9e0bfd88f29d3c2e9dc9389f524f HG_PHASES_MOVED=1 HG_SOURCE=push HG_URL=push |
|
172 | 179 | changegroup hook: HG_BUNDLE2-EXP=1 HG_NODE=eea13746799a9e0bfd88f29d3c2e9dc9389f524f HG_SOURCE=push HG_URL=push |
@@ -254,6 +261,9 b' push over ssh' | |||
|
254 | 261 | remote: 1 new obsolescence markers |
|
255 | 262 | updating bookmark book_5fdd |
|
256 | 263 | remote: pre-close-tip:5fddd98957c8 draft book_5fdd |
|
264 | remote: pushkey: lock state after "bookmarks" | |
|
265 | remote: lock: free | |
|
266 | remote: wlock: free | |
|
257 | 267 | remote: postclose-tip:5fddd98957c8 draft book_5fdd |
|
258 | 268 | remote: b2x-transactionclose hook: HG_BOOKMARK_MOVED=1 HG_BUNDLE2-EXP=1 HG_NEW_OBSMARKERS=1 HG_NODE=5fddd98957c8a54a4d436dfe1da9d87f21a1b97b HG_SOURCE=serve HG_URL=remote:ssh:127.0.0.1 |
|
259 | 269 | remote: changegroup hook: HG_BUNDLE2-EXP=1 HG_NODE=5fddd98957c8a54a4d436dfe1da9d87f21a1b97b HG_SOURCE=serve HG_URL=remote:ssh:127.0.0.1 |
General Comments 0
You need to be logged in to leave comments.
Login now