Mercurial > evolve
comparison tests/test-topic.t @ 1867:c9cacc62fa17
patch: import topic from patch header
If the used Mercurial supports it, we import topic from patch headers.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Thu, 08 Oct 2015 20:43:15 -0700 |
parents | 13fc93fb7fbe |
children | 5cdd5e0a421c |
comparison
equal
deleted
inserted
replaced
1866:13fc93fb7fbe | 1867:c9cacc62fa17 |
---|---|
155 +++ b/alpha Thu Jan 01 00:00:00 1970 +0000 | 155 +++ b/alpha Thu Jan 01 00:00:00 1970 +0000 |
156 @@ -1,2 +1,3 @@ | 156 @@ -1,2 +1,3 @@ |
157 file alpha | 157 file alpha |
158 topic work | 158 topic work |
159 +narf!!! | 159 +narf!!! |
160 | |
161 Import | |
162 | |
163 $ hg -R pinky export > narf.diff | |
164 $ hg -R pinky --config extensions.strip= strip . | |
165 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
166 saved backup bundle to $TESTTMP/pinky/.hg/strip-backup/7c34953036d6-1ff3bae2-backup.hg (glob) | |
167 $ hg -R pinky import narf.diff | |
168 applying narf.diff | |
169 $ hg -R pinky log -r . | |
170 changeset: 6:7c34953036d6 | |
171 tag: tip | |
172 topic: narf | |
173 parent: 4:fb147b0b417c | |
174 user: test | |
175 date: Thu Jan 01 00:00:00 1970 +0000 | |
176 summary: narf! | |
177 | |
160 Now that we've pushed to brain, the work done on narf is no longer a | 178 Now that we've pushed to brain, the work done on narf is no longer a |
161 draft, so we won't see that topic name anymore: | 179 draft, so we won't see that topic name anymore: |
162 | 180 |
163 $ hg log -R pinky -G | 181 $ hg log -R pinky -G |
164 @ changeset: 6:7c34953036d6 | 182 @ changeset: 6:7c34953036d6 |