##// END OF EJS Templates
revsymbol: stop delegating to repo.__getitem__ for unhandled symbols (API)...
Martin von Zweigbergk -
r37549:6639ac97 default
parent child Browse files
Show More
@@ -503,7 +503,7 b' def revsymbol(repo, symbol):'
503 503 rev = repo.changelog.rev(node)
504 504 return repo[rev]
505 505
506 return repo[symbol]
506 raise error.RepoLookupError(_("unknown revision '%s'") % symbol)
507 507
508 508 except error.WdirUnsupported:
509 509 return repo[None]
@@ -72,7 +72,7 b' not are encoded like a node:'
72 72 [255]
73 73 $ hg pull -r 'xxxxxxxxxxxxxxxxxx y'
74 74 pulling from http://foo@localhost:$HGPORT/
75 abort: unknown revision '7878787878787878787878787878787878782079'!
75 abort: unknown revision 'xxxxxxxxxxxxxxxxxx y'!
76 76 [255]
77 77
78 78 Issue622: hg init && hg pull -u URL doesn't checkout default branch
General Comments 0
You need to be logged in to leave comments. Login now