comparison tests/test-export.t @ 32662:9d201b39ccd9

export: map wctx.node() to 'ff...' node id (issue5438)
author Yuya Nishihara <yuya@tcha.org>
date Sat, 03 Jun 2017 19:17:19 +0900
parents e5c61e745cd7
children 428de1a59f2d
comparison
equal deleted inserted replaced
32661:a3064fe3e495 32662:9d201b39ccd9
135 foo-7 135 foo-7
136 foo-8 136 foo-8
137 foo-9 137 foo-9
138 +foo-10 138 +foo-10
139 139
140 Exporting wdir revision:
141
142 $ echo "foo-wdir" >> foo
143 $ hg export 'wdir()'
144 # HG changeset patch
145 # User test
146 # Date 0 0
147 # Thu Jan 01 00:00:00 1970 +0000
148 # Node ID ffffffffffffffffffffffffffffffffffffffff
149 # Parent f3acbafac161ec68f1598af38f794f28847ca5d3
150
151
152 diff -r f3acbafac161 foo
153 --- a/foo Thu Jan 01 00:00:00 1970 +0000
154 +++ b/foo Thu Jan 01 00:00:00 1970 +0000
155 @@ -10,3 +10,4 @@
156 foo-9
157 foo-10
158 foo-11
159 +foo-wdir
160 $ hg revert -q foo
161
140 No filename should be printed if stdout is specified explicitly: 162 No filename should be printed if stdout is specified explicitly:
141 163
142 $ hg export -v 1 -o - 164 $ hg export -v 1 -o -
143 exporting patch: 165 exporting patch:
144 # HG changeset patch 166 # HG changeset patch