# HG changeset patch # User Jeff Hammel # Date 1354923661 28800 # Node ID bd358da5c346cbc9d5d0847534f5aeb70821e4f0 # Parent fa1215cee8c451c024a6c96dbe9d903b3db5ad28 this is getting out of hand diff -r fa1215cee8c4 -r bd358da5c346 mozillatry.py --- a/mozillatry.py Fri Dec 07 15:31:24 2012 -0800 +++ b/mozillatry.py Fri Dec 07 15:41:01 2012 -0800 @@ -49,9 +49,9 @@ if not patches and not update: hg_dir = os.path.join(repo, '.hg') assert os.path.exists(hg_dir) and os.path.isdir(hg_dir) - patches = os.path.join(hg_dir, 'patches') - if os.path.exists(patches): - shutil.rmtree(patches) + patches_dir = os.path.join(hg_dir, 'patches') + if os.path.exists(patches_dir): + shutil.rmtree(patches_dir) call(['hg', 'qinit'], cwd=repo) # TODO: ensure there's something to commit call(['hg', 'qnew', datetime.datetime.now().strftime("%Y%m%d%H%M%S")], cwd=repo)