diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2006-05-10 14:28:18 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2006-05-10 14:28:18 +0000 |
commit | bfc8f9903ae4c08d5be6b56ce542468193f1e0b7 (patch) | |
tree | 9a9121f75ed2e0c736e9c10135a1baf75d5bc3be /usr.bin/rcs/merge.1 | |
parent | 2b4d630a5b6bfef1d3e52b0dd3aff219e38c5b70 (diff) |
starting bits for merge(1) replacement. Not built/linked yet.
man page reviewed by jmc@.
Diffstat (limited to 'usr.bin/rcs/merge.1')
-rw-r--r-- | usr.bin/rcs/merge.1 | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/usr.bin/rcs/merge.1 b/usr.bin/rcs/merge.1 new file mode 100644 index 00000000000..5a5839ff9fc --- /dev/null +++ b/usr.bin/rcs/merge.1 @@ -0,0 +1,91 @@ +.\" $OpenBSD: merge.1,v 1.1 2006/05/10 14:28:17 xsa Exp $ +.\" +.\" Copyright (c) 2006 Xavier Santolaria <xsa@openbsd.org> +.\" All rights reserved. +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.Dd May 09, 2006 +.Dt MERGE 1 +.Os +.Sh NAME +.Nm merge +.Nd 3-way file merge +.Sh SYNOPSIS +.Nm +.Op Fl EepqV +.Op Fl L Ar label +.Ar file1 file2 file3 +.Sh DESCRIPTION +The +.Nm +program merges changes leading from +.Ar file2 +to +.Ar file3 +into +.Ar file1 . +.Pp +The following options are supported: +.Bl -tag -width Ds +.It Fl E +Default merge: +see +.Xr diff3 1 +for details. +.It Fl e +Same as +.Fl E +but does not warn about conflicts. +.It Fl L Ar label +Specifies labels to be used in place of corresponding file names +in conflicts reports. +May be given up to three times. +.It Fl p +Print result to standard output. +.It Fl q +Be quiet about reporting. +.It Fl V +Print RCS's version number. +.El +.Sh EXAMPLES +Using labels: +.Bd -literal -offset indent +$ merge -q -p -L one -L two -L three file1 file2 file3 +<<<<<<< one +======= +bar +>>>>>>> three +.Ed +.Sh DIAGNOSTICS +The +.Nm +utility exits with one of the following values: +.Pp +.Bl -tag -width Ds -compact -offset indent +.It 0 +No overlaps. +.It 1 +Overlaps were found. +.It 2 +An error occurred. +.El +.Sh SEE ALSO +.Xr co 1 , +.Xr diff 1 , +.Xr diff3 1 , +.Xr rcsmerge 1 +.Sh STANDARDS +The flag +.Op Fl A +has no effect and is provided +for compatibility only. |