diff mercurial/lsprof.py @ 19154:0c7cf411b390

scmutil: add a function to mark that files have been operated on Several places use scmutil.addremove as a means to declare that certain files have been operated on. This is ugly because: - addremove takes patterns relative to the cwd, not paths relative to the root, which means extra contortions for callers. - addremove doesn't make clear what happens to files whose status hasn't changed. This new method accepts filenames relative to the repo root, and has a much clearer contract. It also allows future modifications that do more with files whose status hasn't changed.
author Siddharth Agarwal <sid0@fb.com>
date Thu, 04 Apr 2013 13:38:28 -0700
parents a40d608e2a7b
children 9c75daf89450
line wrap: on
line diff