summaryrefslogtreecommitdiff
path: root/src/cmd/hgpatch/doc.go
blob: 5d7674acf64fb4cc94428ddbac5dc13f8465b9b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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