Show More
@@ -53,6 +53,7 class bmstore(dict): | |||
|
53 | 53 | The transaction is then responsible for updating the file content.""" |
|
54 | 54 | tr.addfilegenerator('bookmarks', ('bookmarks',), self._write, |
|
55 | 55 | vfs=self._repo.vfs) |
|
56 | tr.hookargs['bookmark_moved'] = '1' | |
|
56 | 57 | |
|
57 | 58 | def write(self): |
|
58 | 59 | '''Write bookmarks |
@@ -158,8 +158,8 push | |||
|
158 | 158 | $ hg -R main push other --rev eea13746799a --bookmark book_eea1 |
|
159 | 159 | pushing to other |
|
160 | 160 | searching for changes |
|
161 | b2x-transactionclose hook: HG_BUNDLE2-EXP=1 HG_NEW_OBSMARKERS=1 HG_PHASES_MOVED=1 HG_SOURCE=push HG_URL=push | |
|
162 | changegroup hook: HG_BUNDLE2-EXP=1 HG_NEW_OBSMARKERS=1 HG_PHASES_MOVED=1 HG_SOURCE=bundle2 HG_URL=bundle2 | |
|
161 | b2x-transactionclose hook: HG_BOOKMARK_MOVED=1 HG_BUNDLE2-EXP=1 HG_NEW_OBSMARKERS=1 HG_PHASES_MOVED=1 HG_SOURCE=push HG_URL=push | |
|
162 | changegroup hook: HG_BOOKMARK_MOVED=1 HG_BUNDLE2-EXP=1 HG_NEW_OBSMARKERS=1 HG_PHASES_MOVED=1 HG_SOURCE=bundle2 HG_URL=bundle2 | |
|
163 | 163 | remote: adding changesets |
|
164 | 164 | remote: adding manifests |
|
165 | 165 | remote: adding file changes |
@@ -191,7 +191,7 pull over ssh | |||
|
191 | 191 | added 1 changesets with 1 changes to 1 files (+1 heads) |
|
192 | 192 | 1 new obsolescence markers |
|
193 | 193 | updating bookmark book_02de |
|
194 | changegroup hook: HG_NEW_OBSMARKERS=1 HG_PHASES_MOVED=1 HG_SOURCE=bundle2 HG_URL=bundle2 | |
|
194 | changegroup hook: HG_BOOKMARK_MOVED=1 HG_NEW_OBSMARKERS=1 HG_PHASES_MOVED=1 HG_SOURCE=bundle2 HG_URL=bundle2 | |
|
195 | 195 | (run 'hg heads' to see heads, 'hg merge' to merge) |
|
196 | 196 | $ hg -R other debugobsolete |
|
197 | 197 | 1111111111111111111111111111111111111111 9520eea781bcca16c1e15acc0ba14335a0e8e5ba 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
@@ -213,7 +213,7 pull over http | |||
|
213 | 213 | added 1 changesets with 1 changes to 1 files (+1 heads) |
|
214 | 214 | 1 new obsolescence markers |
|
215 | 215 | updating bookmark book_42cc |
|
216 | changegroup hook: HG_NEW_OBSMARKERS=1 HG_PHASES_MOVED=1 HG_SOURCE=bundle2 HG_URL=bundle2 | |
|
216 | changegroup hook: HG_BOOKMARK_MOVED=1 HG_NEW_OBSMARKERS=1 HG_PHASES_MOVED=1 HG_SOURCE=bundle2 HG_URL=bundle2 | |
|
217 | 217 | (run 'hg heads .' to see heads, 'hg merge' to merge) |
|
218 | 218 | $ cat main-error.log |
|
219 | 219 | $ hg -R other debugobsolete |
@@ -234,8 +234,8 push over ssh | |||
|
234 | 234 | remote: added 1 changesets with 1 changes to 1 files |
|
235 | 235 | remote: 1 new obsolescence markers |
|
236 | 236 | updating bookmark book_5fdd |
|
237 | remote: b2x-transactionclose hook: HG_BUNDLE2-EXP=1 HG_NEW_OBSMARKERS=1 HG_SOURCE=serve HG_URL=remote:ssh:127.0.0.1 | |
|
238 | remote: changegroup hook: HG_BUNDLE2-EXP=1 HG_NEW_OBSMARKERS=1 HG_SOURCE=bundle2 HG_URL=bundle2 | |
|
237 | remote: b2x-transactionclose hook: HG_BOOKMARK_MOVED=1 HG_BUNDLE2-EXP=1 HG_NEW_OBSMARKERS=1 HG_SOURCE=serve HG_URL=remote:ssh:127.0.0.1 | |
|
238 | remote: changegroup hook: HG_BOOKMARK_MOVED=1 HG_BUNDLE2-EXP=1 HG_NEW_OBSMARKERS=1 HG_SOURCE=bundle2 HG_URL=bundle2 | |
|
239 | 239 | $ hg -R other log -G |
|
240 | 240 | o 6:5fddd98957c8 draft Nicolas Dumazet <nicdumz.commits@gmail.com> book_5fdd C |
|
241 | 241 | | |
General Comments 0
You need to be logged in to leave comments.
Login now