Changes between Version 1 and Version 2 of Development/UsingDarcs

Show
Ignore:
Timestamp:
02/24/10 22:07:48 (5 years ago)
Author:
erikd (IP: 150.101.204.108)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Development/UsingDarcs

    v1 v2  
    1 Using Darcs 
     1[http://trac.haskell.org/ddc/wiki < Main] 
    22 
     3== Using Darcs == 
     4 
     5If you're going to be doing any real hacking on DDC its highly recommended that you use more than one Darcs branch to do it in. Darcs being a Distributed Version Control System (DVCS) means that its designed to make merging between branches easy. 
     6 
     7First of all you want a pristine version of ddc-head which you can get using: 
     8{{{ 
     9mkdir $HOME/ddc/ 
     10cd $HOME/ddc/ 
     11darcs get http://code.haskell.org/ddc/ddc-head 
     12}}} 
     13 
     14Then for each bug or feature you're working on you probably want a branch which should branch off your local ddc-head branch using: 
     15 
     16{{{ 
     17cd $HOME/ddc 
     18darcs get ddc-head bug-XXXX 
     19}}} 
     20 
     21You can then work on `bug-XXXX` independently from other bugs, while still keeping your `ddc-head` branch up-to-date with regular `darcs pull -a` commands. 
     22 
     23Finally, when you come up with a fix for the bug, you can do a `darcs push -a` in your `bug-XXXX` branch which pushes it to `ddc-head` where you can review it before doing either a `darcs send` command to send a patch to the mailing list or a `darcs push -a` if you have commit access to the upstream repo.