Mercurial > evolve
comparison tests/test-draft.t @ 21:aa0870d093b8
Add pull and push support for relevant heads.
This use pushkey.
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Mon, 06 Jun 2011 16:42:56 +0200 |
parents | a38b3d0a1562 |
children | 20ac7fa3fd29 |
comparison
equal
deleted
inserted
replaced
20:9983f240ac63 | 21:aa0870d093b8 |
---|---|
28 searching for changes | 28 searching for changes |
29 adding changesets | 29 adding changesets |
30 adding manifests | 30 adding manifests |
31 adding file changes | 31 adding file changes |
32 added 2 changesets with 2 changes to 1 files | 32 added 2 changesets with 2 changes to 1 files |
33 $ hg publish 1 # until we fix push | |
34 $ echo "tree" >> savanna | 33 $ echo "tree" >> savanna |
35 $ hg add savanna | 34 $ hg add savanna |
36 $ hg ci -m "terrain" | 35 $ hg ci -m "terrain" |
37 $ echo "flore" >> babar | 36 $ echo "flore" >> babar |
38 $ hg ci -m "children" | 37 $ hg ci -m "children" |
57 $ hg out ../remote1 --template='{rev}:{node|short}\n' | 56 $ hg out ../remote1 --template='{rev}:{node|short}\n' |
58 comparing with ../remote1 | 57 comparing with ../remote1 |
59 searching for changes | 58 searching for changes |
60 no changes found | 59 no changes found |
61 [1] | 60 [1] |
62 $ hg push ../remote1 | 61 $ hg push --traceback ../remote1 |
63 pushing to ../remote1 | 62 pushing to ../remote1 |
64 searching for changes | 63 searching for changes |
65 no changes found | 64 no changes found |
66 | 65 |
67 $ hg out ../remote2 --template='{rev}:{node|short}\n' | 66 $ hg out ../remote2 --template='{rev}:{node|short}\n' |
99 $ cd ../other1 | 98 $ cd ../other1 |
100 $ hg incoming ../local --template='{rev}:{node|short}\n' | 99 $ hg incoming ../local --template='{rev}:{node|short}\n' |
101 comparing with ../local | 100 comparing with ../local |
102 0:5caa672bac26 | 101 0:5caa672bac26 |
103 1:710fe444b3b0 | 102 1:710fe444b3b0 |
104 $ hg pull ../local | 103 $ hg pull ../local |
105 pulling from ../local | 104 pulling from ../local |
106 requesting all changes | 105 requesting all changes |
107 adding changesets | 106 adding changesets |
108 adding manifests | 107 adding manifests |
109 adding file changes | 108 adding file changes |