Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: sitescripts/extensions/bin/createNightlies.py

Issue 5268597484027904: Issue 1809 - createNighlies determines hg root incorrectly (Closed)
Patch Set: Created Jan. 14, 2015, 9:32 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sitescripts/extensions/bin/createNightlies.py
===================================================================
--- a/sitescripts/extensions/bin/createNightlies.py
+++ b/sitescripts/extensions/bin/createNightlies.py
@@ -97,17 +97,17 @@ class NightlyBuild(object):
subprocess.check_call(command)
# Make sure to process the dependencies file if it is present
import logging
logging.disable(logging.WARNING)
try:
from buildtools.ensure_dependencies import resolve_deps
resolve_deps(self.tempdir, self_update=False,
- overrideroots={"hg": os.path.dirname(self.config.repository)},
+ overrideroots={"hg": os.path.abspath(os.path.join(self.config.repository, os.pardir))},
skipdependencies={"buildtools"})
finally:
logging.disable(logging.NOTSET)
def writeChangelog(self, changes):
"""
write the changelog file into the cloned repository
"""
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld