##// END OF EJS Templates
update: fix crash on bare update when directaccess is enabled...
Yuya Nishihara -
r35699:e29823c6 default
parent child Browse files
Show More
@@ -5530,7 +5530,8 b' def update(ui, repo, node=None, rev=None'
5530 5530
5531 5531 # if we defined a bookmark, we have to remember the original name
5532 5532 brev = rev
5533 repo = scmutil.unhidehashlikerevs(repo, [rev], 'nowarn')
5533 if rev:
5534 repo = scmutil.unhidehashlikerevs(repo, [rev], 'nowarn')
5534 5535 ctx = scmutil.revsingle(repo, rev, rev)
5535 5536 rev = ctx.rev()
5536 5537 if ctx.hidden():
@@ -162,6 +162,9 b' This should not throw error'
162 162 $ hg up 3
163 163 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
164 164
165 $ hg up
166 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
167
165 168 `hg revert`
166 169
167 170 $ hg revert -r 28ad74 --all
General Comments 0
You need to be logged in to leave comments. Login now