From: Eric S. Raymond Date: Sat, 8 Nov 2014 17:10:53 +0000 (-0500) Subject: Backend cat works. X-Git-Tag: 0.2~13 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=5c1e558a30f6141415a2f2a493a84d44dc0d918d;p=src.git Backend cat works. --- diff --git a/src b/src index 08c754f..f6d747c 100755 --- a/src +++ b/src @@ -518,7 +518,7 @@ def cat_method(*args): with lifted(arg): for item in master: if item.revno in revspec: - do_or_die("co -q -p -r{1} {0}".format(arg, item.revision), loud=True) + backend.cat(arg, item.revision) def diff_method(*args): "Dump diffs between revisions to standard output." @@ -763,7 +763,7 @@ class RCS: "Ship the contents of a revision to stdout or a named file." if fn: arg += " >" + fn - do_or_die("co -q -p -r{1} {0}".format(arg, item.revision), loud=True) + do_or_die("co -q -p -r{1} {0}".format(arg, revision), loud=True) def delete_tag(self, tagname, arg): "Delete a specified tag." do_or_die("rcs -n{0} {1}".format(tagname, arg))