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.

Changes between Initial Version and Version 1 of MonotoneBestPractices


Ignore:
Timestamp:
Apr 15, 2007, 3:33:27 AM (17 years ago)
Author:
Gary Kramlich
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MonotoneBestPractices

    v1 v1  
     1= Monotone Best Practices =
     2
     3The purpose of this page is to create a set of best practices for the use of pidgin monotone.  When deemed worthy, it will be merged into UsingPidginMonotone.
     4
     5== Branching ==
     6Branching 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.
     7
     8=== Branch names ===
     9Branch 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.
     10
     11=== Creating Branches ===
     12
     13==== From a Working Copy ====
     14To create a branch from your working copy use:
     15{{{
     16mtn ci -b <new_branch>
     17}}}
     18
     19This 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.
     20
     21==== From Scratch ====
     22Someone fill this in, I haven't done it yet.
     23
     24=== Pulling New Branches ===
     25If 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.
     26
     27From a working copy:
     28{{{
     29mtn pull pidgin.im "im.pidgin.*"
     30}}}
     31
     32From anywhere:
     33{{{
     34mtn -d <path to your pidgin database> pull pidgin.im "im.pidgin.*"
     35}}}
     36
     37'''Note: Both of these methods have yet to be confirmed to fix the problem.'''
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!