comparison hgext/evolve.py @ 1659:c450d134aac4

Spelling: succeeded
author timeless@gmail.com
date Wed, 12 Sep 2012 18:11:23 -0400
parents 7e1b49cda66c
children 48232457b704
comparison
equal deleted inserted replaced
1658:e9a43b15c771 1659:c450d134aac4
2835 try: 2835 try:
2836 obsoleted = kwargs.get('obsolete', []) 2836 obsoleted = kwargs.get('obsolete', [])
2837 if obsoleted: 2837 if obsoleted:
2838 obsoleted = repo.set('%lr', obsoleted) 2838 obsoleted = repo.set('%lr', obsoleted)
2839 result = orig(ui, repo, *arg, **kwargs) 2839 result = orig(ui, repo, *arg, **kwargs)
2840 if not result: # commit successed 2840 if not result: # commit succeeded
2841 new = repo['-1'] 2841 new = repo['-1']
2842 oldbookmarks = [] 2842 oldbookmarks = []
2843 markers = [] 2843 markers = []
2844 for old in obsoleted: 2844 for old in obsoleted:
2845 oldbookmarks.extend(repo.nodebookmarks(old.node())) 2845 oldbookmarks.extend(repo.nodebookmarks(old.node()))