Commits

Ian Bicking  committed 3a4f239

strip newline off hg output

  • Participants
  • Parent commits 75219e2

Comments (0)

Files changed (1)

     def get_url(self, location):
         url = call_subprocess(
             ['hg', 'showconfig', 'paths.default'],
-            show_stdout=False, cwd=location)
+            show_stdout=False, cwd=location).strip()
         if url.startswith('/') or url.startswith('\\'):
             url = filename_to_url(url)
         return url.strip()