##// END OF EJS Templates
error: remove shortening of node in error message...
Pulkit Goyal -
r47397:6fc57680 default
parent child Browse files
Show More
@@ -73,9 +73,9 b' class LookupError(RevlogError, KeyError)'
73 73 # Python 2.6+ complain about the 'message' property being deprecated
74 74 self.lookupmessage = message
75 75 if isinstance(name, bytes) and len(name) == 20:
76 from .node import short
76 from .node import hex
77 77
78 name = short(name)
78 name = hex(name)
79 79 # if name is a binary node, it can be None
80 80 RevlogError.__init__(
81 81 self, b'%s@%s: %s' % (index, pycompat.bytestr(name), message)
@@ -223,7 +223,7 b' revision 2'
223 223 adding changesets
224 224 transaction abort!
225 225 rollback completed
226 abort: 00changelog.i@93ee6ab32777: unknown parent
226 abort: 00changelog.i@93ee6ab32777cd430e07da694794fb6a4f917712: unknown parent
227 227 [50]
228 228
229 229 revision 2
@@ -733,7 +733,7 b' test that verify bundle does not traceba'
733 733 partial history bundle, fails w/ unknown parent
734 734
735 735 $ hg -R bundle.hg verify
736 abort: 00changelog.i@bbd179dfa0a7: unknown parent
736 abort: 00changelog.i@bbd179dfa0a71671c253b3ae0aa1513b60d199fa: unknown parent
737 737 [50]
738 738
739 739 full history bundle, refuses to verify non-local repo
@@ -292,12 +292,12 b' ensure that the filemap contains duplica'
292 292 $ rm -rf source/.hg/store/data/dir/file4
293 293 #endif
294 294 $ hg -q convert --filemap renames.fmap --datesort source dummydest
295 abort: data/dir/file3.i@e96dce0bc6a2: no match found (reporevlogstore !)
295 abort: data/dir/file3.i@e96dce0bc6a217656a3a410e5e6bec2c4f42bf7c: no match found (reporevlogstore !)
296 296 abort: data/dir/file3/index@e96dce0bc6a2: no node (reposimplestore !)
297 297 [50]
298 298 $ hg -q convert --filemap renames.fmap --datesort --config convert.hg.ignoreerrors=1 source renames.repo
299 ignoring: data/dir/file3.i@e96dce0bc6a2: no match found (reporevlogstore !)
300 ignoring: data/dir/file4.i@6edd55f559cd: no match found (reporevlogstore !)
299 ignoring: data/dir/file3.i@e96dce0bc6a217656a3a410e5e6bec2c4f42bf7c: no match found (reporevlogstore !)
300 ignoring: data/dir/file4.i@6edd55f559cdce67132b12ca09e09cee08b60442: no match found (reporevlogstore !)
301 301 ignoring: data/dir/file3/index@e96dce0bc6a2: no node (reposimplestore !)
302 302 ignoring: data/dir/file4/index@6edd55f559cd: no node (reposimplestore !)
303 303 $ hg up -q -R renames.repo
@@ -182,7 +182,7 b' break it'
182 182 sorting...
183 183 converting...
184 184 4 init
185 ignoring: data/b.i@1e88685f5dde: no match found (reporevlogstore !)
185 ignoring: data/b.i@1e88685f5ddec574a34c70af492f95b6debc8741: no match found (reporevlogstore !)
186 186 ignoring: data/b/index@1e88685f5dde: no node (reposimplestore !)
187 187 3 changeall
188 188 2 changebagain
@@ -656,7 +656,7 b' before addition - error'
656 656 An error occurred while processing your request:
657 657 </p>
658 658 <p>
659 a@6563da9dcf87: not found in manifest
659 a@6563da9dcf87b1949716e38ff3e3dfaa3198eb06: not found in manifest
660 660 </p>
661 661 </div>
662 662 </div>
@@ -149,7 +149,7 b' should give a 404 - file does not exist'
149 149 404 Not Found
150 150
151 151
152 error: bork@2ef0ac749a14: not found in manifest
152 error: bork@2ef0ac749a14e4f57a5a822464a0902c6f7f448f: not found in manifest
153 153 [1]
154 154 $ get-with-headers.py localhost:$HGPORT 'file/tip/bork'
155 155 404 Not Found
@@ -202,7 +202,7 b' should give a 404 - file does not exist'
202 202 An error occurred while processing your request:
203 203 </p>
204 204 <p>
205 bork@2ef0ac749a14: not found in manifest
205 bork@2ef0ac749a14e4f57a5a822464a0902c6f7f448f: not found in manifest
206 206 </p>
207 207 </div>
208 208 </div>
@@ -218,7 +218,7 b' should give a 404 - file does not exist'
218 218 404 Not Found
219 219
220 220
221 error: bork@2ef0ac749a14: not found in manifest
221 error: bork@2ef0ac749a14e4f57a5a822464a0902c6f7f448f: not found in manifest
222 222 [1]
223 223
224 224 try bad style
@@ -103,7 +103,7 b' should give a 404 - file does not exist'
103 103 404 Not Found
104 104
105 105
106 error: bork@8580ff50825a: not found in manifest
106 error: bork@8580ff50825a50c8f716709acdf8de0deddcd6ab: not found in manifest
107 107 [1]
108 108
109 109 should succeed
@@ -105,7 +105,7 b' TODO: this should be successful'
105 105 remote: adding file changes
106 106 remote: transaction abort!
107 107 remote: rollback completed
108 remote: abort: data/inside2/f.i@4a1aa07735e6: unknown parent (reporevlogstore !)
108 remote: abort: data/inside2/f.i@4a1aa07735e673e20c00fae80f40dc301ee30616: unknown parent (reporevlogstore !)
109 109 remote: abort: data/inside2/f/index@4a1aa07735e6: no node (reposimplestore !)
110 110 abort: stream ended unexpectedly (got 0 bytes, expected 4)
111 111 [255]
@@ -218,8 +218,8 b" TODO: lfs shouldn't abort like this"
218 218 remote: adding manifests
219 219 remote: adding file changes
220 220 remote: added 1 changesets with 0 changes to 0 files (no-lfs-on !)
221 remote: error: pretxnchangegroup.lfs hook raised an exception: data/inside2/f.i@f59b4e021835: no match found (lfs-on !)
221 remote: error: pretxnchangegroup.lfs hook raised an exception: data/inside2/f.i@f59b4e0218355383d2789196f1092abcf2262b0c: no match found (lfs-on !)
222 222 remote: transaction abort! (lfs-on !)
223 223 remote: rollback completed (lfs-on !)
224 remote: abort: data/inside2/f.i@f59b4e021835: no match found (lfs-on !)
224 remote: abort: data/inside2/f.i@f59b4e0218355383d2789196f1092abcf2262b0c: no match found (lfs-on !)
225 225 abort: stream ended unexpectedly (got 0 bytes, expected 4) (lfs-on !)
@@ -185,7 +185,7 b' Test recovery from misconfigured server '
185 185 adding changesets
186 186 adding manifests
187 187 adding file changes
188 abort: 00changelog.i@66f7d451a68b: no node
188 abort: 00changelog.i@66f7d451a68b85ed82ff5fcc254daf50c74144bd: no node
189 189 [50]
190 190 $ cd ..
191 191 $ killdaemons.py
General Comments 0
You need to be logged in to leave comments. Login now