Show More
@@ -72,4 +72,57 b' push' | |||||
72 | @@ -0,0 +1,2 @@ |
|
72 | @@ -0,0 +1,2 @@ | |
73 | +a |
|
73 | +a | |
74 | +a |
|
74 | +a | |
|
75 | $ hg --cwd a rollback | |||
|
76 | repository tip rolled back to revision -1 (undo push) | |||
|
77 | working directory now based on revision -1 | |||
75 |
|
78 | |||
|
79 | unbundle with unrelated source | |||
|
80 | ||||
|
81 | $ hg --cwd b bundle ../test.hg ../a | |||
|
82 | searching for changes | |||
|
83 | 2 changesets found | |||
|
84 | $ hg --cwd a unbundle ../test.hg | |||
|
85 | adding changesets | |||
|
86 | adding manifests | |||
|
87 | adding file changes | |||
|
88 | added 2 changesets with 2 changes to 1 files | |||
|
89 | (run 'hg update' to get a working copy) | |||
|
90 | $ hg --cwd a rollback | |||
|
91 | repository tip rolled back to revision -1 (undo unbundle) | |||
|
92 | working directory now based on revision -1 | |||
|
93 | ||||
|
94 | unbundle with correct source | |||
|
95 | ||||
|
96 | $ hg --config notify.sources=unbundle --cwd a unbundle ../test.hg 2>&1 | | |||
|
97 | > python -c 'import sys,re; print re.sub("\n\t", " ", sys.stdin.read()),' | |||
|
98 | adding changesets | |||
|
99 | adding manifests | |||
|
100 | adding file changes | |||
|
101 | added 2 changesets with 2 changes to 1 files | |||
|
102 | Content-Type: text/plain; charset="us-ascii" | |||
|
103 | MIME-Version: 1.0 | |||
|
104 | Content-Transfer-Encoding: 7bit | |||
|
105 | Date: * (glob) | |||
|
106 | Subject: * (glob) | |||
|
107 | From: test | |||
|
108 | X-Hg-Notification: changeset cb9a9f314b8b | |||
|
109 | Message-Id: <*> (glob) | |||
|
110 | To: baz, foo@bar | |||
|
111 | ||||
|
112 | changeset cb9a9f314b8b in $TESTTMP/a | |||
|
113 | details: $TESTTMP/a?cmd=changeset;node=cb9a9f314b8b | |||
|
114 | summary: a | |||
|
115 | ||||
|
116 | changeset ba677d0156c1 in $TESTTMP/a | |||
|
117 | details: $TESTTMP/a?cmd=changeset;node=ba677d0156c1 | |||
|
118 | summary: b | |||
|
119 | ||||
|
120 | diffs (6 lines): | |||
|
121 | ||||
|
122 | diff -r 000000000000 -r ba677d0156c1 a | |||
|
123 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 | |||
|
124 | +++ b/a Thu Jan 01 00:00:00 1970 +0000 | |||
|
125 | @@ -0,0 +1,2 @@ | |||
|
126 | +a | |||
|
127 | +a | |||
|
128 | (run 'hg update' to get a working copy) |
General Comments 0
You need to be logged in to leave comments.
Login now