Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Commit

Permalink
Bug 683819 - Don't create backup bundles during tagging. r=bhearsum
Browse files Browse the repository at this point in the history
  • Loading branch information
Rail Aliev committed Sep 7, 2011
1 parent 2e68bec commit 6ad3b96
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/python/util/hg.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ def apply_and_push(localrepo, remote, changer, max_attempts=10,
if n == max_attempts:
log.debug("Tried %d times, giving up" % max_attempts)
for r in reversed(new_revs):
run_cmd(['hg', 'strip', r[REVISION]], cwd=localrepo)
run_cmd(['hg', 'strip', '-n', r[REVISION]], cwd=localrepo)
raise HgUtilError("Failed to push")
pull(remote, localrepo, update_dest=False,
ssh_username=ssh_username, ssh_key=ssh_key)
Expand All @@ -339,7 +339,7 @@ def apply_and_push(localrepo, remote, changer, max_attempts=10,
log.debug("Failed to rebase: %s" % str(e))
update(localrepo, branch=branch)
for r in reversed(new_revs):
run_cmd(['hg', 'strip', r[REVISION]], cwd=localrepo)
run_cmd(['hg', 'strip', '-n', r[REVISION]], cwd=localrepo)
changer(localrepo, n+1)

def share(source, dest, branch=None, revision=None):
Expand All @@ -353,4 +353,4 @@ def cleanOutgoingRevs(reponame, remote, username, sshKey):
ssh_username=username,
ssh_key=sshKey))
for r in reversed(outgoingRevs):
run_cmd(['hg', 'strip', r[REVISION]], cwd=reponame)
run_cmd(['hg', 'strip', '-n', r[REVISION]], cwd=reponame)

0 comments on commit 6ad3b96

Please sign in to comment.