summaryrefslogtreecommitdiff
path: root/src/cmd/hgpatch/doc.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/hgpatch/doc.go')
-rw-r--r--src/cmd/hgpatch/doc.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/cmd/hgpatch/doc.go b/src/cmd/hgpatch/doc.go
new file mode 100644
index 000000000..1e0f1da38
--- /dev/null
+++ b/src/cmd/hgpatch/doc.go
@@ -0,0 +1,18 @@
+// Copyright 2009 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+/*
+
+Hgpatch applies a patch to the local Mercurial repository.
+The patch should have been been generated by
+a version control system like CVS, Git, Mercurial, or Subversion.
+If successful, hgpatch writes a list of affected files to standard output.
+
+Hgpatch is meant to be used by the Mercurial codereview extension.
+
+Usage:
+ hgpatch [patchfile]
+
+*/
+package documentation