From f3f1a8ce03c9995e6990087ac9f3624570995585 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 14 Nov 2014 02:46:27 -0500 Subject: [PATCH] Comment fixes. --- src | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src b/src index b626c1b..13ea4be 100755 --- a/src +++ b/src @@ -21,7 +21,7 @@ # # The "src status" command needs to be fast so that Emacs VC won't be sluggish. # It's written to only have to access the inodes of each master and workfile, -# not the files themselves. The central trick is the use of utimes(2) to +# not the files themselves. The central trick is the use of utime(2) to # set the master's modification time just after the workfile is checked out; # thus, to distinguish between U and M status all we need to do is compare # modtimes. @@ -887,7 +887,7 @@ def checkout_method(*args): backend.checkout(arg, revision) # We change access and modification times of # both history and workfile to avoid a race - # condition if src status is donw within a second. + # condition if src status is done within a second. st = os.stat(backend.history(arg)) os.utime(backend.history(arg), (st.st_atime, st.st_mtime)) os.utime(arg, (st.st_atime-1, st.st_mtime-1)) @@ -924,7 +924,7 @@ def status_method(*args): pairs.append((fn, "?")) elif not os.path.exists(fn): pairs.append((fn, "!")) - # Relies on the fact that we touch the file with utimes(2) + # Relies on the fact that we touch the file with utime(2) # each time it's checked out. elif os.path.getmtime(fn) > os.path.getmtime(backend.history(fn)): pairs.append((fn, "M")) -- 2.43.0