Commits

Angel Ezquerra  committed 29fc53f

Use repo.wjoin(...) rather than os.path.join(repo.root, ...)

  • Participants
  • Parent commits 77aa25f

Comments (0)

Files changed (1)

File ban-changesets.py

 
 def getSetOfBannedChangesets(repo):
     try:
-        bannedChangesetsPath = os.path.join(repo.root,'.hgbannedchangesets')
+        bannedChangesetsPath = repo.wjoin('.hgbannedchangesets')
         f = open(bannedChangesetsPath, 'r')
         banned = set()
         changesetPat = re.compile(r"(^[0-9a-fA-F]+).*")