equal
deleted
inserted
replaced
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) |