Debian Codegraph @

doc/html/ext-split.html

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <meta name="generator" content="Docutils 0.21.2: https://docutils.sourceforge.io/" />
7 <title>split</title>
8 <link rel="stylesheet" href="../style.css" type="text/css" />
9 </head>
10 <body>
11 <div class="document" id="split">
12 <span id="ext-split"></span>
13 <h1 class="title">split</h1>
14
15 <div class="contents htmlonly topic" id="contents">
16 <p class="topic-title"><a class="reference internal" href="#top">Contents</a></p>
17 <ul class="simple">
18 <li><a class="reference internal" href="#commands" id="toc-entry-1">Commands</a><ul>
19 <li><a class="reference internal" href="#change-manipulation" id="toc-entry-2">Change manipulation</a></li>
20 </ul>
21 </li>
22 </ul>
23 </div>
24 <p>command to split a changeset into smaller ones (EXPERIMENTAL)</p>
25 <div class="section" id="commands">
26 <h1><a class="toc-backref" href="#contents">Commands</a></h1>
27 <div class="section" id="change-manipulation">
28 <h2><a class="toc-backref" href="#contents">Change manipulation</a></h2>
29 <div class="section" id="split-1">
30 <h3>split</h3>
31 <p>split a changeset into smaller ones:</p>
32 <pre class="literal-block">
33 hg split [--no-rebase] [[-r] REV]
34 </pre>
35 <p>Repeatedly prompt changes and commit message for new changesets until there
36 is nothing left in the original changeset.</p>
37 <p>If --rev was not given, split the working directory parent.</p>
38 <p>By default, rebase connected non-obsoleted descendants onto the new
39 changeset. Use --no-rebase to avoid the rebase.</p>
40 <p>Options:</p>
41 <table class="docutils option-list" frame="void" rules="none">
42 <col class="option" />
43 <col class="description" />
44 <tbody valign="top">
45 <tr><td class="option-group" colspan="2">
46 <kbd><span class="option">-r</span>, <span class="option">--rev <var>&lt;REV&gt;</var></span></kbd></td>
47 </tr>
48 <tr><td>&nbsp;</td><td>revision to split</td></tr>
49 <tr><td class="option-group">
50 <kbd><span class="option">--rebase</span></kbd></td>
51 <td>rebase descendants after split (default: True)</td></tr>
52 <tr><td class="option-group" colspan="2">
53 <kbd><span class="option">-d</span>, <span class="option">--date <var>&lt;DATE&gt;</var></span></kbd></td>
54 </tr>
55 <tr><td>&nbsp;</td><td>record the specified date as commit date</td></tr>
56 <tr><td class="option-group" colspan="2">
57 <kbd><span class="option">-u</span>, <span class="option">--user <var>&lt;USER&gt;</var></span></kbd></td>
58 </tr>
59 <tr><td>&nbsp;</td><td>record the specified user as committer</td></tr>
60 </tbody>
61 </table>
62 </div>
63 </div>
64 </div>
65 </div>
66 </body>
67 </html>