diff -r 6d891df43a5f -r 4dd7b28003d2 hgext/bookmarks.py --- a/hgext/bookmarks.py Mon Jan 12 09:07:02 2009 +0100 +++ b/hgext/bookmarks.py Mon Jan 12 09:16:03 2009 +0100 @@ -67,7 +67,7 @@ if current(repo) not in refs: setcurrent(repo, None) file = repo.opener('bookmarks', 'w+') - for refspec, node in refs.items(): + for refspec, node in refs.iteritems(): file.write("%s %s\n" % (hex(node), refspec)) file.close() @@ -206,7 +206,7 @@ revisions = _revstostrip(repo.changelog, node) marks = parse(repo) update = [] - for mark, n in marks.items(): + for mark, n in marks.iteritems(): if repo.changelog.rev(n) in revisions: update.append(mark) oldstrip(ui, repo, node, backup)