Bug 508955. Missed one instance of hgcloneopts when un-bitrotting the original patch.
authorPhilippe M. Chiasson <gozer@mozillamessaging.com>
Wed, 17 Feb 2010 12:41:41 -0500
changeset 4936 415147d48e3b0e56b7bc8f430464c2bcb3fe0fda
parent 4935 2ba40d7f08e73a7bdb094d64f164a52681f669a5
child 4937 ed6765f30ddcd89db3001eefd78db052b47b6465
push idunknown
push userunknown
push dateunknown
bugs508955
Bug 508955. Missed one instance of hgcloneopts when un-bitrotting the original patch.
client.py
--- a/client.py
+++ b/client.py
@@ -227,17 +227,17 @@ def switch_mozilla_repo():
             # Print the exception without its traceback.
             sys.excepthook(sys.exc_info()[0], sys.exc_info()[1], None)
             sys.exit("Error: Renaming old backup directory failed! You must recover manually.")
         # Let's leave the hgrc as it was, so any repo specific config is left
         # the same.
         return
 
     # Locally clone common repository history.
-    check_call_noisy([options.hg, 'clone', '-r', SWITCH_MOZILLA_BASE_REV] + hgopts + [backup_mozilla_path, mozilla_path],
+    check_call_noisy([options.hg, 'clone', hgcloneopts, '-r', SWITCH_MOZILLA_BASE_REV] + hgopts + [backup_mozilla_path, mozilla_path],
                      retryMax=options.retries)
 
     # Rewrite hgrc for new local mozilla repo based on pre-existing hgrc
     # but with new values
     f = open(os.path.join(topsrcdir, 'mozilla', '.hg', 'hgrc'), 'w')
     try:
       config.write(f)
     finally: