~ubuntu-branches/ubuntu/utopic/mercurial/utopic-security

« back to all changes in this revision

Viewing changes to mercurial/bookmarks.py

  • Committer: Package Import Robot
  • Author(s): Javi Merino
  • Date: 2012-05-04 21:57:42 UTC
  • mfrom: (1.2.30)
  • Revision ID: package-import@ubuntu.com-20120504215742-8pj1ilgfr6fyi8b0
Tags: 2.2.1-1
* New upstream release that fixes a memory leak in hgweb
* Refresh i18n/{de,da,ja}.po translations in
  deb_specific__use_sensible-editor.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 
8
8
from mercurial.i18n import _
9
9
from mercurial.node import hex
10
 
from mercurial import encoding, error, util
 
10
from mercurial import encoding, util
11
11
import errno, os
12
12
 
13
13
def valid(mark):
36
36
            refspec = encoding.tolocal(refspec)
37
37
            try:
38
38
                bookmarks[refspec] = repo.changelog.lookup(sha)
39
 
            except error.RepoLookupError:
 
39
            except LookupError:
40
40
                pass
41
41
    except IOError, inst:
42
42
        if inst.errno != errno.ENOENT: