author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
Mon, 20 Oct 2014 22:08:08 +0900 | |
branch | stable |
changeset 23057 | f41dd17ae6b7 |
parent 22559 | 4e0b696a1cb3 |
child 23349 | 7dd1870120b2 |
permissions | -rw-r--r-- |
12279 | 1 |
$ hg init 1 |
2 |
||
3 |
$ echo '[ui]' >> 1/.hg/hgrc |
|
4 |
$ echo 'timeout = 10' >> 1/.hg/hgrc |
|
5 |
||
6 |
$ echo foo > 1/foo |
|
7 |
$ hg --cwd 1 ci -A -m foo |
|
8 |
adding foo |
|
9 |
||
10 |
$ hg clone 1 2 |
|
11 |
updating to branch default |
|
12 |
1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
13 |
||
14 |
$ hg clone 2 3 |
|
15 |
updating to branch default |
|
16 |
1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
17 |
||
18 |
$ echo '[hooks]' >> 2/.hg/hgrc |
|
22559
4e0b696a1cb3
commands: add debuglocks to report/clear lock state
Matt Mackall <mpm@selenic.com>
parents:
12279
diff
changeset
|
19 |
$ echo 'pretxnchangegroup.a = hg debuglocks; true' >> 2/.hg/hgrc |
12279 | 20 |
$ echo 'changegroup.push = hg push -qf ../1' >> 2/.hg/hgrc |
21 |
||
22 |
$ echo bar >> 3/foo |
|
23 |
$ hg --cwd 3 ci -m bar |
|
24 |
||
25 |
$ hg --cwd 3 push ../2 |
|
26 |
pushing to ../2 |
|
27 |
searching for changes |
|
28 |
adding changesets |
|
29 |
adding manifests |
|
30 |
adding file changes |
|
31 |
added 1 changesets with 1 changes to 1 files |
|
22559
4e0b696a1cb3
commands: add debuglocks to report/clear lock state
Matt Mackall <mpm@selenic.com>
parents:
12279
diff
changeset
|
32 |
lock: user *, process * (*s) (glob) |
4e0b696a1cb3
commands: add debuglocks to report/clear lock state
Matt Mackall <mpm@selenic.com>
parents:
12279
diff
changeset
|
33 |
wlock: free |
12279 | 34 |