File: hg-rename.1

package info (click to toggle)
mercurial 7.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 45,080 kB
  • sloc: python: 208,589; ansic: 56,460; tcl: 3,715; sh: 1,839; lisp: 1,483; cpp: 864; makefile: 769; javascript: 649; xml: 36
file content (74 lines) | stat: -rw-r--r-- 1,740 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
.TH HG RENAME  "" "" ""
.SH NAME
hg rename \- rename files; equivalent of copy + remove
.\" Man page generated from reStructuredText.
.
.SH SYNOPSIS
.sp
.nf
.ft C
hg rename [OPTION]... SOURCE... DEST
.ft P
.fi
.SH DESCRIPTION
.sp
Mark dest as copies of sources; mark sources for deletion. If dest
is a directory, copies are put in that directory. If dest is a
file, there can only be one source.
.sp
By default, this command copies the contents of files as they
exist in the working directory. If invoked with \-A/\-\-after, the
operation is recorded, but no copying is performed.
.sp
To undo marking a destination file as renamed, use \-\-forget. With that
option, all given (positional) arguments are unmarked as renames. The
destination file(s) will be left in place (still tracked). The source
file(s) will not be restored. Note that \%\fBhg rename \-\-forget\fP\: behaves
the same way as \%\fBhg copy \-\-forget\fP\:.
.sp
This command takes effect with the next commit by default.
.sp
Returns 0 on success, 1 if errors are encountered.
.SH OPTIONS
.INDENT 0.0
.TP
.B \-\-forget
.
unmark a destination file as renamed
.TP
.B \-A,  \-\-after
.
record a rename that has already occurred
.TP
.BI \-\-at\-rev \ <REV>
.
(un)mark renames in the given revision (EXPERIMENTAL)
.TP
.B \-f,  \-\-force
.
forcibly move over an existing managed file
.TP
.BI \-I,  \-\-include \ <PATTERN[+]>
.
include names matching the given patterns
.TP
.BI \-X,  \-\-exclude \ <PATTERN[+]>
.
exclude names matching the given patterns
.TP
.B \-n,  \-\-dry\-run
.
do not perform actions, just print output
.UNINDENT
.sp
[+] marked option can be specified multiple times
.SH ALIASES
.sp
.nf
.ft C
move, mv
.ft P
.fi
.\" Generated by docutils manpage writer.
.\" 
.