Changeset 3e7321738bec…
Parent 44e0431a6494…
by
Changes to one file · Browse files at 3e7321738bec Showing diff from parent 44e0431a6494 Diff from another changeset...
@@ -262,7 +262,7 @@ if pats:
# patterns supplied: search .hgbfiles relative to current dir
cwd = repo.getcwd()
- if (os.path.isabs(cwd)):
+ if os.path.isabs(cwd):
# cwd is an absolute path for hg -R <reponame>
# work relative to the repository root in this case
cwd = ''
@@ -333,7 +333,7 @@
def update_standin(repo, standin):
file = repo.wjoin(split_standin(standin))
- if(os.path.exists(file)):
+ if os.path.exists(file):
hash = hashfile(file)
executable = get_executable(file)
write_standin(repo, standin, hash, executable)
|
Loading...