equal
deleted
inserted
replaced
3 # Copyright 2008 David Soria Parra <dsp@php.net> |
3 # Copyright 2008 David Soria Parra <dsp@php.net> |
4 # |
4 # |
5 # This software may be used and distributed according to the terms of the |
5 # This software may be used and distributed according to the terms of the |
6 # GNU General Public License version 2 or any later version. |
6 # GNU General Public License version 2 or any later version. |
7 |
7 |
|
8 from __future__ import absolute_import |
|
9 |
|
10 import errno |
8 import os |
11 import os |
9 from mercurial.i18n import _ |
12 |
10 from mercurial.node import hex, bin |
13 from .i18n import _ |
11 from mercurial import encoding, util, obsolete, lock as lockmod |
14 from .node import ( |
12 import errno |
15 bin, |
|
16 hex, |
|
17 ) |
|
18 from . import ( |
|
19 encoding, |
|
20 lock as lockmod, |
|
21 obsolete, |
|
22 util, |
|
23 ) |
13 |
24 |
14 class bmstore(dict): |
25 class bmstore(dict): |
15 """Storage for bookmarks. |
26 """Storage for bookmarks. |
16 |
27 |
17 This object should do all bookmark reads and writes, so that it's |
28 This object should do all bookmark reads and writes, so that it's |