##// END OF EJS Templates
errors: consistently don't use trailing "!" in "not found in manifest" message...
Martin von Zweigbergk -
r46519:50afeeeb default
parent child Browse files
Show More
@@ -5011,7 +5011,7 b' def parents(ui, repo, file_=None, **opts'
5011 except error.LookupError:
5011 except error.LookupError:
5012 pass
5012 pass
5013 if not filenodes:
5013 if not filenodes:
5014 raise error.InputError(_(b"'%s' not found in manifest!") % file_)
5014 raise error.InputError(_(b"'%s' not found in manifest") % file_)
5015 p = []
5015 p = []
5016 for fn in filenodes:
5016 for fn in filenodes:
5017 fctx = repo.filectx(file_, fileid=fn)
5017 fctx = repo.filectx(file_, fileid=fn)
@@ -53,7 +53,7 b' hg parents c, single revision'
53
53
54
54
55 $ hg parents -r 3 c
55 $ hg parents -r 3 c
56 abort: 'c' not found in manifest!
56 abort: 'c' not found in manifest
57 [10]
57 [10]
58
58
59 $ hg parents -r 2
59 $ hg parents -r 2
@@ -239,7 +239,7 b''
239 .. hopefully this flakyness is not hiding any actual bug.
239 .. hopefully this flakyness is not hiding any actual bug.
240 $ hg revert -a -r 1 || true
240 $ hg revert -a -r 1 || true
241 ? files fetched over 1 fetches - (? misses, 0.00% hit ratio) over * (glob)
241 ? files fetched over 1 fetches - (? misses, 0.00% hit ratio) over * (glob)
242 abort: z2@109c3a557a73: not found in manifest! (?)
242 abort: z2@109c3a557a73: not found in manifest (?)
243 $ find $CACHEDIR -type f | sort
243 $ find $CACHEDIR -type f | sort
244 $TESTTMP/hgcache/master/11/f6ad8ec52a2984abaafd7c3b516503785c2072/ef95c5376f34698742fe34f315fd82136f8f68c0
244 $TESTTMP/hgcache/master/11/f6ad8ec52a2984abaafd7c3b516503785c2072/ef95c5376f34698742fe34f315fd82136f8f68c0
245 $TESTTMP/hgcache/master/39/5df8f7c51f007019cb30201c49e884b46b92fa/69a1b67522704ec122181c0890bd16e9d3e7516a
245 $TESTTMP/hgcache/master/39/5df8f7c51f007019cb30201c49e884b46b92fa/69a1b67522704ec122181c0890bd16e9d3e7516a
General Comments 0
You need to be logged in to leave comments. Login now