Show More
@@ -1,38 +1,50 | |||||
1 | $ hg init 1 |
|
1 | $ hg init 1 | |
2 |
|
2 | |||
3 | $ echo '[ui]' >> 1/.hg/hgrc |
|
3 | $ echo '[ui]' >> 1/.hg/hgrc | |
4 | $ echo 'timeout = 10' >> 1/.hg/hgrc |
|
4 | $ echo 'timeout = 10' >> 1/.hg/hgrc | |
5 |
|
5 | |||
6 | $ echo foo > 1/foo |
|
6 | $ echo foo > 1/foo | |
7 | $ hg --cwd 1 ci -A -m foo |
|
7 | $ hg --cwd 1 ci -A -m foo | |
8 | adding foo |
|
8 | adding foo | |
9 |
|
9 | |||
10 | $ hg clone 1 2 |
|
10 | $ hg clone 1 2 | |
11 | updating to branch default |
|
11 | updating to branch default | |
12 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
12 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
13 |
|
13 | |||
14 | $ hg clone 2 3 |
|
14 | $ hg clone 2 3 | |
15 | updating to branch default |
|
15 | updating to branch default | |
16 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
16 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
17 |
|
17 | |||
18 | $ cat <<EOF > $TESTTMP/debuglocks-pretxn-hook.sh |
|
18 | $ cat <<EOF > $TESTTMP/debuglocks-pretxn-hook.sh | |
19 | > hg debuglocks |
|
19 | > hg debuglocks | |
20 | > true |
|
20 | > true | |
21 | > EOF |
|
21 | > EOF | |
22 | $ echo '[hooks]' >> 2/.hg/hgrc |
|
22 | $ echo '[hooks]' >> 2/.hg/hgrc | |
23 | $ echo "pretxnchangegroup.a = sh $TESTTMP/debuglocks-pretxn-hook.sh" >> 2/.hg/hgrc |
|
23 | $ echo "pretxnchangegroup.a = sh $TESTTMP/debuglocks-pretxn-hook.sh" >> 2/.hg/hgrc | |
24 | $ echo 'changegroup.push = hg push -qf ../1' >> 2/.hg/hgrc |
|
24 | $ echo 'changegroup.push = hg push -qf ../1' >> 2/.hg/hgrc | |
25 |
|
25 | |||
26 | $ echo bar >> 3/foo |
|
26 | $ echo bar >> 3/foo | |
27 | $ hg --cwd 3 ci -m bar |
|
27 | $ hg --cwd 3 ci -m bar | |
28 |
|
28 | |||
29 | $ hg --cwd 3 push ../2 |
|
29 | $ hg --cwd 3 push ../2 --config experimental.bundle2-exp=False | |
30 | pushing to ../2 |
|
30 | pushing to ../2 | |
31 | searching for changes |
|
31 | searching for changes | |
32 | adding changesets |
|
32 | adding changesets | |
33 | adding manifests |
|
33 | adding manifests | |
34 | adding file changes |
|
34 | adding file changes | |
35 | added 1 changesets with 1 changes to 1 files |
|
35 | added 1 changesets with 1 changes to 1 files | |
36 | lock: user *, process * (*s) (glob) |
|
36 | lock: user *, process * (*s) (glob) | |
37 | wlock: free |
|
37 | wlock: free | |
38 |
|
38 | |||
|
39 | $ hg --cwd 1 --config extensions.strip= strip tip -q | |||
|
40 | $ hg --cwd 2 --config extensions.strip= strip tip -q | |||
|
41 | $ hg --cwd 3 push ../2 --config experimental.bundle2-exp=True | |||
|
42 | pushing to ../2 | |||
|
43 | searching for changes | |||
|
44 | adding changesets | |||
|
45 | adding manifests | |||
|
46 | adding file changes | |||
|
47 | added 1 changesets with 1 changes to 1 files | |||
|
48 | lock: user *, process * (*s) (glob) | |||
|
49 | wlock: user *, process * (*s) (glob) | |||
|
50 |
General Comments 0
You need to be logged in to leave comments.
Login now