1. Tom Christie
  2. setuptools_hg

Commits

Tom Christie  committed 3cf725a

Strictly enforce that hg locate only uses the requested dirname

  • Participants
  • Parent commits 3950ad9
  • Branches default

Comments (0)

Files changed (1)

File setuptools_hg.py

View file
     Use the hg command to recursively find versioned files in dirname.
     """
     try:
-        proc = subprocess.Popen(['hg', 'locate', '-I', '.'],
+        proc = subprocess.Popen(['hg', 'locate', '-I', os.path.abspath(dirname)],
                                 stdin=subprocess.PIPE,
                                 stderr=subprocess.PIPE,
                                 stdout=subprocess.PIPE,