equal
deleted
inserted
replaced
25 if npublish: |
25 if npublish: |
26 repo.ui.warn("Push would publish %s changesets" % npublish) |
26 repo.ui.warn("Push would publish %s changesets" % npublish) |
27 |
27 |
28 ret = orig(repo, remote, outgoing, *args) |
28 ret = orig(repo, remote, outgoing, *args) |
29 if npublish: |
29 if npublish: |
30 raise util.Abort("Publishing push forbiden", |
30 raise util.Abort("Publishing push forbidden", |
31 hint="Use `hg phase -p <rev>` to manually publish them") |
31 hint="Use `hg phase -p <rev>` to manually publish them") |
32 |
32 |
33 return ret |
33 return ret |
34 |
34 |
35 def uisetup(ui): |
35 def uisetup(ui): |