hgext/histedit.py
changeset 33345 4192694b4844
parent 33043 18c2489ac96d
child 33346 7aa5160bdbf5
equal deleted inserted replaced
33344:1e872b08a4e9 33345:4192694b4844
  1572             lock = repo.lock()
  1572             lock = repo.lock()
  1573             tr = repo.transaction('histedit')
  1573             tr = repo.transaction('histedit')
  1574             marks = repo._bookmarks
  1574             marks = repo._bookmarks
  1575             for mark, new in moves:
  1575             for mark, new in moves:
  1576                 old = marks[mark]
  1576                 old = marks[mark]
  1577                 ui.note(_('histedit: moving bookmarks %s from %s to %s\n')
       
  1578                         % (mark, node.short(old), node.short(new)))
       
  1579                 marks[mark] = new
  1577                 marks[mark] = new
  1580             marks.recordchange(tr)
  1578             marks.recordchange(tr)
  1581             tr.close()
  1579             tr.close()
  1582         finally:
  1580         finally:
  1583             release(tr, lock)
  1581             release(tr, lock)