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.go19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/cmd/hgpatch/doc.go b/src/cmd/hgpatch/doc.go
new file mode 100644
index 000000000..5d7674acf
--- /dev/null
+++ b/src/cmd/hgpatch/doc.go
@@ -0,0 +1,19 @@
+// 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 reads a patch, which should have been generated by
+a version control system like CVS, GIT, Mercurial, or Subversion,
+from a file (or standard input) and applies that patch to the local
+Mercurial repository. If successful, it 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