mercurial/subrepo.py
branchstable
changeset 17035 ba0286e149aa
parent 17025 8ad08dcab7d9
child 17036 ab4644c3064f
child 17140 54714fc4ae33
equal deleted inserted replaced
17034:75fd9d1cf638 17035:ba0286e149aa
   728             # Last committed rev is not the same than rev. We would
   728             # Last committed rev is not the same than rev. We would
   729             # like to take lastrev but we do not know if the subrepo
   729             # like to take lastrev but we do not know if the subrepo
   730             # URL exists at lastrev.  Test it and fallback to rev it
   730             # URL exists at lastrev.  Test it and fallback to rev it
   731             # is not there.
   731             # is not there.
   732             try:
   732             try:
   733                 self._svncommand(['info', '%s@%s' % (self._state[0], lastrev)])
   733                 self._svncommand(['list', '%s@%s' % (self._state[0], lastrev)])
   734                 return lastrev
   734                 return lastrev
   735             except error.Abort:
   735             except error.Abort:
   736                 pass
   736                 pass
   737         return rev
   737         return rev
   738 
   738