Trac is being migrated to new services! Issues can be found in our new
YouTrack instance and WIKI pages can be found on our
website.
- Timestamp:
-
Apr 15, 2007, 2:40:11 PM (17 years ago)
- Author:
-
elb
- Comment:
-
Merging much of the branch instruction into UsingPidginMonotone
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v7
|
v8
|
|
7 | 7 | mtn refresh_inodeprints |
8 | 8 | }}} |
9 | | The above command will create a inode cache of your current workspace. This will dramatically reduce the runtime of mtn status, commit, etc. Technically this method is less secure then the default behavior. Please read the [http://monotone.ca/docs/Inodeprints.html official docs] for more information. |
| 9 | The above command will create a inode cache of your current workspace. This will dramatically reduce the runtime of mtn status, commit, etc. Technically this method is less safe then the default behavior, as under certain circumstances, some changes may not be noticed. Please read the [http://monotone.ca/docs/Inodeprints.html official docs] for more information. |
10 | 10 | |
11 | | == Branching == |
12 | | Branching has always been a confusing topic and has always had lots of confusing documentation. In an attempt to avoid that, the following subtopics are meant to make understand branches easier as well as explain how they work in monotone. |
13 | | |
14 | | === Branch names === |
15 | | Branch names should be descriptive and follow a hierarchy. For example, for the 2007 Summer of Code projects, we are using {{{im.pidgin.soc.2007.<project name>}}}. Using a setup like this, it is easy to tell at a glance of {{{mtn ls branches}}} that {{{im.pidgin.soc.2007.monoloader}}} is a 2007 Summer of Code project branch. |
16 | | |
17 | | === Creating Branches === |
18 | | |
19 | | ==== From a Working Copy ==== |
20 | | To create a branch from your working copy use: |
21 | | {{{ |
22 | | mtn ci -b <new_branch> |
23 | | }}} |
24 | | |
25 | | This will check it the new branch into your local database and change the current branch of your working copy to {{{<new_branch>}}}. You will of course still need to push your branch out to the "central" server on pidgin.im. |
26 | | |
27 | | ==== From Scratch ==== |
28 | | Someone fill this in, I haven't done it yet. |
29 | | |
30 | | === Pulling New Branches === |
| 11 | == Pulling New Branches == |
31 | 12 | If you did not do an initial pull with {{{mtn pull pidgin.im im.pidgin.*}}} it is possible that you will not automagically pull new branches. If you have noticed a lack of branches in {{{mtn ls branches}}} you can remedy this one of two ways. |
32 | 13 | |
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!