Paul Martin
2016-04-30 a502d96a860456ec5e8c96761db70f7cabb74751
commit | author | age
5e3521 1 Barnum, a Patchset Tool (pt)
JM 2
3 This Git wrapper script is designed to reduce the ceremony of working with Gitblit patchsets.
4
5 Copyright 2014 gitblit.com.
6
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
10
11     http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18
19
20 Linux
21
22 1. This script should work out-of-the-box, assuming you have Python 3 and Git.
23 2. Put the pt script in a directory on your PATH
24
25 Mac OS X
26
27 1. Download and install Python 3, if you have not (http://www.python.org)
28 2. Put the pt script in a directory on your PATH
29
30 Windows
31
32 1. Download and install Python 3, if you have not (http://www.python.org)
33 2. Download and install Git for Windows, if you have not (http://git-scm.com)
34 3. Put the pt.cmd and pt.py file together in a directory on your PATH
35
36
37 Usage
38
39     pt fetch <id> [-p,--patchset <n>]
40     pt checkout <id> [-p,--patchset <n>] [-f,--force]
41     pt push [<id>] [-i,--ignore] [-f,--force] [-t,--topic <topic>]
42             [-m,--milestone <milestone>] [-cc <user> <user>]
43     pt pull <id>
44     pt start <topic> | <id>
45     pt propose [new | <branch> | <id>] [-i,--ignore] [-t,--topic <topic>]
46                [-m,--milestone <milestone>] [-cc <user> <user>]
47     pt cleanup [<id>]
48
49