comparison tests/test-convert-svn-sink.out @ 5811:180a3eee4b75

Fix copies reporting in log and convert. If copy logged in file revision, we report copy for changeset only if file revisions linkrev points back to the changeset in question or both changeset parents contain different file revisions. This fixes extra copies reported when executable bit was changed for previously copied file.
author Maxim Dounin <mdounin@mdounin.ru>
date Sat, 29 Dec 2007 17:11:48 +0300
parents b63ef7b1441c
children 5af5f0f9d724
comparison
equal deleted inserted replaced
5810:124577de40a7 5811:180a3eee4b75
165 a-hg-wc: 165 a-hg-wc:
166 c 166 c
167 d1 167 d1
168 % executable 168 % executable
169 5:f205b3636d77 169 5:f205b3636d77
170 svn: Path 'b' does not exist
171 assuming destination a-hg 170 assuming destination a-hg
172 initializing svn wc 'a-hg-wc' 171 initializing svn wc 'a-hg-wc'
173 scanning source... 172 scanning source...
174 sorting... 173 sorting...
175 converting... 174 converting...
176 0 make a file executable 175 0 make a file executable
177 abort: svn exited with status 1 176 At revision 6.
178 At revision 5. 177 6 6 test .
179 5 5 test . 178 6 6 test c
180 M 5 4 test c 179 6 1 test d1
181 5 1 test d1 180 6 1 test d1/d2
182 5 1 test d1/d2 181 6 1 test d1/d2/b
183 5 1 test d1/d2/b 182 <?xml version="1.0"?>
184 <?xml version="1.0"?> 183 <log>
185 <log> 184 <logentry
186 <logentry 185 revision="6">
187 revision="5"> 186 <author>test</author>
188 <author>test</author> 187 <date/>
189 <date/> 188 <paths>
190 <paths> 189 <path
191 <path 190 action="M">/c</path>
192 action="D">/b</path> 191 </paths>
193 </paths> 192 <msg>make a file executable</msg>
194 <msg>remove a file</msg>
195 </logentry> 193 </logentry>
196 </log> 194 </log>
197 executable 195 executable
198 % executable in new directory 196 % executable in new directory
199 adding d1/a 197 adding d1/a