equal
deleted
inserted
replaced
9 |
9 |
10 def _nslist(repo): |
10 def _nslist(repo): |
11 n = {} |
11 n = {} |
12 for k in _namespaces: |
12 for k in _namespaces: |
13 n[k] = "" |
13 n[k] = "" |
14 if not obsolete._enabled: |
14 if not obsolete.isenabled(repo, obsolete.exchangeopt): |
15 n.pop('obsolete') |
15 n.pop('obsolete') |
16 return n |
16 return n |
17 |
17 |
18 _namespaces = {"namespaces": (lambda *x: False, _nslist), |
18 _namespaces = {"namespaces": (lambda *x: False, _nslist), |
19 "bookmarks": (bookmarks.pushbookmark, bookmarks.listbookmarks), |
19 "bookmarks": (bookmarks.pushbookmark, bookmarks.listbookmarks), |