Kiln » largefiles » largefiles-kiln-truncated changes meant to be shipped in Kiln Extensions to aid migration path to Mercurial-bundled largefiles
Clone URL:  

Remove unneeded parentheses.

Changeset 3e7321738bec

Parent 44e0431a6494

by David Golub

Changes to one file · Browse files at 3e7321738bec Showing diff from parent 44e0431a6494 Diff from another changeset...

Change 1 of 2 Show Entire File kbfiles/​bfutil.py Stacked
 
262
263
264
265
 
266
267
268
 
333
334
335
336
 
337
338
339
 
262
263
264
 
265
266
267
268
 
333
334
335
 
336
337
338
339
@@ -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)