chiark / gitweb /
darcs vcs show
authorRichard Kettlewell <rjk@greenend.org.uk>
Sun, 23 Jan 2011 21:13:37 +0000 (21:13 +0000)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sun, 23 Jan 2011 21:13:37 +0000 (21:13 +0000)
src/darcs.cc
vcs.1

index 612ec52..d2a208c 100644 (file)
@@ -125,6 +125,15 @@ public:
                    EXE_STR, destination,
                    EXE_END);
   }
+
+  int show(const char *change) const {
+    return execute("darcs",
+                   EXE_STR, "diff",
+                   EXE_STR, "-u",
+                   EXE_STR, "--match",
+                   EXE_STR, change,
+                   EXE_END);
+  }
 };
 
 static const darcs vcs_darcs;
diff --git a/vcs.1 b/vcs.1
index 9d9b25b..7d9bb06 100644 (file)
--- a/vcs.1
+++ b/vcs.1
@@ -317,8 +317,6 @@ will delete newly added files.
 Web page: http://www.selenic.com/mercurial/
 .SS Darcs
 Web page: http://darcs.net/
-.PP
-\fBvcs show\fR does not work with Darcs.
 .SS Perforce
 Web page: http://www.perforce.com/
 .PP