comparison tests/test-topic.t @ 1866:13fc93fb7fbe

patch: add topic to exported patch If used Mercurial supports it, we add a topic header to patches.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Thu, 08 Oct 2015 20:42:26 -0700
parents 70d1191fceed
children c9cacc62fa17
comparison
equal deleted inserted replaced
1865:558dd43b599d 1866:13fc93fb7fbe
135 searching for changes 135 searching for changes
136 adding changesets 136 adding changesets
137 adding manifests 137 adding manifests
138 adding file changes 138 adding file changes
139 added 5 changesets with 5 changes to 4 files 139 added 5 changesets with 5 changes to 4 files
140
141 Export
142
143 $ hg -R pinky export
144 # HG changeset patch
145 # User test
146 # Date 0 0
147 # Thu Jan 01 00:00:00 1970 +0000
148 # Node ID 7c34953036d6a36eae468c550d0592b89ee8bffc
149 # Parent fb147b0b417c25ca15547cd945acf51cf8dcaf02
150 # EXP-Topic narf
151 narf!
152
153 diff -r fb147b0b417c -r 7c34953036d6 alpha
154 --- a/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 @@
157 file alpha
158 topic work
159 +narf!!!
140 Now that we've pushed to brain, the work done on narf is no longer a 160 Now that we've pushed to brain, the work done on narf is no longer a
141 draft, so we won't see that topic name anymore: 161 draft, so we won't see that topic name anymore:
142 162
143 $ hg log -R pinky -G 163 $ hg log -R pinky -G
144 @ changeset: 6:7c34953036d6 164 @ changeset: 6:7c34953036d6