Mercurial > hg-stable
annotate tests/test-push-hook-lock.t @ 22640:e88a634e0195
setup: set mode 644 or 755 on installed files
author | Kyle Lippincott <spectral@google.com> |
---|---|
date | Tue, 30 Sep 2014 17:13:54 -0700 |
parents | 4e0b696a1cb3 |
children | 7dd1870120b2 |
rev | line source |
---|---|
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 |