--- a/mercurial/pushkey.py Wed Oct 26 14:30:43 2011 +0200
+++ b/mercurial/pushkey.py Thu Dec 15 11:24:26 2011 +0100
@@ -5,7 +5,7 @@
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
-import bookmarks
+import bookmarks, phases
def _nslist(repo):
n = {}
@@ -14,7 +14,9 @@
return n
_namespaces = {"namespaces": (lambda *x: False, _nslist),
- "bookmarks": (bookmarks.pushbookmark, bookmarks.listbookmarks)}
+ "bookmarks": (bookmarks.pushbookmark, bookmarks.listbookmarks),
+ "phases": (phases.pushphase, phases.listphases),
+ }
def register(namespace, pushkey, listkeys):
_namespaces[namespace] = (pushkey, listkeys)