mercurial/revset.py
branchstable
changeset 24159 5b4ed033390b
parent 24151 38824c53c2f1
child 24163 bb11081562d7
equal deleted inserted replaced
24158:d414c28db84d 24159:5b4ed033390b
   525     use the prefix `literal:`.
   525     use the prefix `literal:`.
   526     """
   526     """
   527     import branchmap
   527     import branchmap
   528     urepo = repo.unfiltered()
   528     urepo = repo.unfiltered()
   529     ucl = urepo.changelog
   529     ucl = urepo.changelog
   530     getbi = branchmap.revbranchcache(urepo).branchinfo
   530     getbi = branchmap.revbranchcache(urepo, readonly=True).branchinfo
   531 
   531 
   532     try:
   532     try:
   533         b = getstring(x, '')
   533         b = getstring(x, '')
   534     except error.ParseError:
   534     except error.ParseError:
   535         # not a string, but another revspec, e.g. tip()
   535         # not a string, but another revspec, e.g. tip()