]> thyrsus.com Git - src.git/commitdiff
Two more problems solved.
authorEric S. Raymond <esr@thyrsus.com>
Thu, 13 Nov 2014 01:08:50 +0000 (20:08 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 13 Nov 2014 01:08:50 +0000 (20:08 -0500)
TODO
src

diff --git a/TODO b/TODO
index 8f8b66db63ccf121942f221d0a4b0e33bf78dc68..113c922458affc6e0f34da632128eb37c5ab026f 100644 (file)
--- a/TODO
+++ b/TODO
@@ -10,7 +10,3 @@
 * chungy reports timestamp issues messing up status on ZFS.
 
 * amend needs to initialize the buffer with the old content value.
-
-* amending commend 7 returns "src: sample : 8"
-
-* src list and src log aren't taking revspecs.
diff --git a/src b/src
index 751582cafdedc9630caa055bc8a2c953f5da5494..5cda6768de18a65fb6e4fa15d1388245974de08e 100755 (executable)
--- a/src
+++ b/src
@@ -584,7 +584,7 @@ def amend_method(*args):
                           metadata.revno_to_native(ctx.start),
                           comment.content())
     if not quiet and len(args) > 1:
-        announce("%s : %d" % (arg, len(metadata)))
+        announce("%s : %d" % (arg, ctx.start))
 
 def list_method(*args):
     "Generate a summary listing of commits, one line per commit."