hg push: "default-push" default target path
authormpm@selenic.com
Wed, 15 Jun 2005 19:52:41 -0800
changeset 371 6e3436082697
parent 370 c90385d82aec
child 372 4b0f562c61f4
child 376 fadc9e126369
hg push: "default-push" default target path -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hg push: "default-push" default target path manifest hash: 368f3a073e172272bac06bf5b2ace78f03ffd3bf -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCsPeJywK+sNU5EO8RAuNZAKChSFEUCILHmRJmj3/7EDij3RK31gCdF2qF vQ8+72bbEPmxa3HOTdNliu0= =Nyi+ -----END PGP SIGNATURE-----
mercurial/commands.py
--- a/mercurial/commands.py	Wed Jun 15 19:48:04 2005 -0800
+++ b/mercurial/commands.py	Wed Jun 15 19:52:41 2005 -0800
@@ -470,7 +470,7 @@
     cg = repo.getchangegroup(other)
     repo.addchangegroup(cg)
 
-def push(ui, repo, dest):
+def push(ui, repo, dest="default-push"):
     """push changes to the specified destination"""
     paths = {}
     for name, path in ui.configitems("paths"):