cpython: ab0b9107628f (original) (raw)

--- a/Tools/hg/hgtouch.py +++ b/Tools/hg/hgtouch.py @@ -36,12 +36,16 @@ def parse_config(repo): result[o] = inputs return result -def check_rule(ui, repo, modified, output, inputs): +def check_rule(ui, repo, modified, basedir, output, inputs): """Verify that the output is newer than any of the inputs. Return (status, stamp), where status is True if the update succeeded, and stamp is the newest time stamp assigned to any file (might be in

+

@@ -79,8 +83,14 @@ def check_rule(ui, repo, modified, outpu # Nothing to update return True, 0 -def do_touch(ui, repo):

+def do_touch(ui, repo, basedir):

@@ -109,11 +119,12 @@ def do_touch(ui, repo): return False return success -def touch(ui, repo): +def touch(ui, repo, basedir): "touch generated files that are older than their sources after an update."

cmdtable = {

}