Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Commit

Permalink
bug 587854: buildbotcustom: When updating sources, discard uncommitte…
Browse files Browse the repository at this point in the history
…d changes. r=bhearsum
  • Loading branch information
John Hopkins committed Aug 18, 2010
1 parent 0375028 commit d139790
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions process/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -2751,7 +2751,7 @@ def updateEnUS(self):
)
self.addStep(ShellCommand,
name='update_enUS_revision',
command=['hg', 'update', '-r',
command=['hg', 'update', '-C', '-r',
WithProperties('%(fx_revision)s')],
haltOnFailure=True,
workdir='build/' + self.origSrcDir)
Expand Down Expand Up @@ -2897,12 +2897,12 @@ def updateEnUS(self):
extract_fn=identToProperties()
)
self.addStep(ShellCommand,
command=['hg', 'update', '-r', WithProperties('%(comm_revision)s')],
command=['hg', 'update', '-C', '-r', WithProperties('%(comm_revision)s')],
haltOnFailure=True,
workdir='%s/%s' % (self.baseWorkDir, self.origSrcDir)
)
self.addStep(ShellCommand,
command=['hg', 'update', '-r', WithProperties('%(moz_revision)s')],
command=['hg', 'update', '-C', '-r', WithProperties('%(moz_revision)s')],
haltOnFailure=True,
workdir='%s/%s' % (self.baseWorkDir, self.mozillaSrcDir)
)
Expand Down Expand Up @@ -3357,7 +3357,7 @@ def __init__(self, repositories, productName, appName, version, appVersion,
# have those commits
self.addStep(ShellCommand,
name='hg_update',
command=['hg', 'up', '-r',
command=['hg', 'up', '-C', '-r',
WithProperties('%s', '%s-revision' % repoName)],
workdir=repoName,
description=['update', repoName],
Expand Down Expand Up @@ -3508,7 +3508,7 @@ def __init__(self, productName, version, baseTag, stagingServer,
# 'hg up -r FIREFOX_3_1b1_RELEASE' with the bundle
self.addStep(ShellCommand,
name='hg_update_incl_tags',
command=['hg', 'up'],
command=['hg', 'up', '-C'],
workdir=self.branchName,
description=['update to', 'include tag revs'],
haltOnFailure=True
Expand Down Expand Up @@ -3627,7 +3627,7 @@ def __init__(self, productName, version, baseTag, stagingServer,
# 'hg up -r FIREFOX_3_1b1_RELEASE' with the bundle
self.addStep(ShellCommand,
name='hg_update_incl_tags',
command=['hg', 'up'],
command=['hg', 'up', '-C'],
workdir=location,
description=['update to', 'include tag revs'],
haltOnFailure=True
Expand Down Expand Up @@ -7088,7 +7088,7 @@ def getPartnerRepackData(self):
)
self.addStep(ShellCommand,
name='update_partners_repo',
command=['hg', 'update', '-r', self.partnersRepoRevision],
command=['hg', 'update', '-C', '-r', self.partnersRepoRevision],
description=['update', 'partners', 'repo'],
workdir=self.partnersRepackDir,
haltOnFailure=True
Expand Down

0 comments on commit d139790

Please sign in to comment.