Mercurial > evolve
diff 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 |
line wrap: on
line diff
--- a/tests/test-topic.t Thu Oct 08 20:42:26 2015 -0700 +++ b/tests/test-topic.t Thu Oct 08 20:43:15 2015 -0700 @@ -157,6 +157,24 @@ file alpha topic work +narf!!! + +Import + + $ hg -R pinky export > narf.diff + $ hg -R pinky --config extensions.strip= strip . + 1 files updated, 0 files merged, 0 files removed, 0 files unresolved + saved backup bundle to $TESTTMP/pinky/.hg/strip-backup/7c34953036d6-1ff3bae2-backup.hg (glob) + $ hg -R pinky import narf.diff + applying narf.diff + $ hg -R pinky log -r . + changeset: 6:7c34953036d6 + tag: tip + topic: narf + parent: 4:fb147b0b417c + user: test + date: Thu Jan 01 00:00:00 1970 +0000 + summary: narf! + Now that we've pushed to brain, the work done on narf is no longer a draft, so we won't see that topic name anymore: