Show More
@@ -103,6 +103,7 b' from mercurial import (' | |||||
103 | match, |
|
103 | match, | |
104 | pycompat, |
|
104 | pycompat, | |
105 | registrar, |
|
105 | registrar, | |
|
106 | scmutil, | |||
106 | util, |
|
107 | util, | |
107 | ) |
|
108 | ) | |
108 | from mercurial.utils import ( |
|
109 | from mercurial.utils import ( | |
@@ -299,7 +300,8 b' def checkheadshook(ui, repo, node, hookt' | |||||
299 | hook = checkheadshook |
|
300 | hook = checkheadshook | |
300 |
|
301 | |||
301 | def preupdate(ui, repo, hooktype, parent1, parent2): |
|
302 | def preupdate(ui, repo, hooktype, parent1, parent2): | |
302 | repo.loadeol([parent1]) |
|
303 | p1node = scmutil.resolvepartialhexnodeid(repo, parent1) | |
|
304 | repo.loadeol([p1node]) | |||
303 | return False |
|
305 | return False | |
304 |
|
306 | |||
305 | def uisetup(ui): |
|
307 | def uisetup(ui): |
@@ -157,14 +157,13 b' extension and python hooks - use the eol' | |||||
157 | > # (in addition, keeping it requires extra care for fsmonitor) |
|
157 | > # (in addition, keeping it requires extra care for fsmonitor) | |
158 | > eol=! |
|
158 | > eol=! | |
159 | > EOF |
|
159 | > EOF | |
160 |
$ hg blackbox -l |
|
160 | $ hg blackbox -l 5 | |
161 | 1970/01/01 00:00:00 bob @6563da9dcf87b1949716e38ff3e3dfaa3198eb06 (5000)> update (no-chg !) |
|
161 | 1970/01/01 00:00:00 bob @6563da9dcf87b1949716e38ff3e3dfaa3198eb06 (5000)> update (no-chg !) | |
162 | 1970/01/01 00:00:00 bob @6563da9dcf87b1949716e38ff3e3dfaa3198eb06 (5000)> writing .hg/cache/tags2-visible with 0 tags |
|
|||
163 | 1970/01/01 00:00:00 bob @6563da9dcf87b1949716e38ff3e3dfaa3198eb06 (5000)> pythonhook-preupdate: hgext.eol.preupdate finished in * seconds (glob) |
|
162 | 1970/01/01 00:00:00 bob @6563da9dcf87b1949716e38ff3e3dfaa3198eb06 (5000)> pythonhook-preupdate: hgext.eol.preupdate finished in * seconds (glob) | |
164 | 1970/01/01 00:00:00 bob @d02f48003e62c24e2659d97d30f2a83abe5d5d51 (5000)> exthook-update: echo hooked finished in * seconds (glob) |
|
163 | 1970/01/01 00:00:00 bob @d02f48003e62c24e2659d97d30f2a83abe5d5d51 (5000)> exthook-update: echo hooked finished in * seconds (glob) | |
165 | 1970/01/01 00:00:00 bob @d02f48003e62c24e2659d97d30f2a83abe5d5d51 (5000)> update exited 0 after * seconds (glob) |
|
164 | 1970/01/01 00:00:00 bob @d02f48003e62c24e2659d97d30f2a83abe5d5d51 (5000)> update exited 0 after * seconds (glob) | |
166 | 1970/01/01 00:00:00 bob @d02f48003e62c24e2659d97d30f2a83abe5d5d51 (5000)> serve --cmdserver chgunix --address $TESTTMP.chgsock/server.* --daemon-postexec 'chdir:/' (glob) (chg !) |
|
165 | 1970/01/01 00:00:00 bob @d02f48003e62c24e2659d97d30f2a83abe5d5d51 (5000)> serve --cmdserver chgunix --address $TESTTMP.chgsock/server.* --daemon-postexec 'chdir:/' (glob) (chg !) | |
167 |
1970/01/01 00:00:00 bob @d02f48003e62c24e2659d97d30f2a83abe5d5d51 (5000)> blackbox -l |
|
166 | 1970/01/01 00:00:00 bob @d02f48003e62c24e2659d97d30f2a83abe5d5d51 (5000)> blackbox -l 5 | |
168 |
|
167 | |||
169 | log rotation |
|
168 | log rotation | |
170 |
|
169 |
General Comments 0
You need to be logged in to leave comments.
Login now