mercurial/pushkey.py
changeset 15648 79cc89de5be1
parent 13353 689bf32b3bbd
child 17075 28ed1c4511ce
--- 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)