Mercurial > hg
comparison tests/test-push-hook-lock.t @ 25126:00e4c5601c74
test: test both bundle1 and bundle2 paths in 'test-push-hook-lock.t'
The locking scheme is a bit different in each cases. So we explicitly test each
case.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Sun, 10 May 2015 03:06:00 -0700 |
parents | 7dd1870120b2 |
children | ac9b85079122 |
comparison
equal
deleted
inserted
replaced
25125:bd625cd4e5e7 | 25126:00e4c5601c74 |
---|---|
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 |