Mercurial > public > mercurial-scm > hg
comparison mercurial/commands.py @ 371:6e3436082697
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-----
author | mpm@selenic.com |
---|---|
date | Wed, 15 Jun 2005 19:52:41 -0800 |
parents | 73ea73ab3359 |
children | 494c8e3f47f3 |
comparison
equal
deleted
inserted
replaced
370:c90385d82aec | 371:6e3436082697 |
---|---|
468 | 468 |
469 other = hg.repository(ui, source) | 469 other = hg.repository(ui, source) |
470 cg = repo.getchangegroup(other) | 470 cg = repo.getchangegroup(other) |
471 repo.addchangegroup(cg) | 471 repo.addchangegroup(cg) |
472 | 472 |
473 def push(ui, repo, dest): | 473 def push(ui, repo, dest="default-push"): |
474 """push changes to the specified destination""" | 474 """push changes to the specified destination""" |
475 paths = {} | 475 paths = {} |
476 for name, path in ui.configitems("paths"): | 476 for name, path in ui.configitems("paths"): |
477 paths[name] = path | 477 paths[name] = path |
478 | 478 |