public
Fork of evilchelu/braid
Description: Simple tool for managing vendor branches across different SCMs
Homepage: http://evil.che.lu/projects/braid
Clone URL: git://github.com/fsvehla/braid.git
Search Repo:
braid /
name age message
folder .gitignore Tue Feb 05 04:20:20 -0800 2008 ignore pkg [evilchelu]
folder History.txt Wed Oct 31 09:43:50 -0700 2007 initial import [evilchelu]
folder License.txt Wed Feb 13 16:21:15 -0800 2008 update license [evilchelu]
folder Manifest.txt Thu Feb 14 05:34:23 -0800 2008 update manifest [evilchelu]
folder README.txt Thu Mar 06 06:18:58 -0800 2008 typo [evilchelu]
folder Rakefile Wed Oct 31 09:43:50 -0700 2007 initial import [evilchelu]
folder TODO.txt Mon Mar 10 12:19:26 -0700 2008 add braid diff wish [evilchelu]
folder bin/ Sun Mar 02 09:17:31 -0800 2008 add --rails_plugin (-p) option to braid add to ... [evilchelu]
folder config/ Sat Mar 15 18:49:19 -0700 2008 add open4 and main to requirements to get nicer... [evilchelu]
folder lib/ Mon Mar 10 11:52:17 -0700 2008 get isvn remote revision in a safer way using s... [evilchelu]
folder log/ Wed Oct 31 09:43:50 -0700 2007 initial import [evilchelu]
folder script/ Wed Oct 31 09:43:50 -0700 2007 initial import [evilchelu]
folder setup.rb Wed Oct 31 09:43:50 -0700 2007 initial import [evilchelu]
folder spec/ Wed Feb 13 12:51:01 -0800 2008 almost complete rewrite, change how .braids is ... [evilchelu]
folder tasks/ Wed Oct 31 09:43:50 -0700 2007 initial import [evilchelu]
README.txt
= README

Braid is a simple tool for managing vendor branches across different SCMs.

http://evil.che.lu/projects/braid

You'll need a rather recent version of git, most likely something after 1.5.4.

If you're on OS X, git from macports is at version 1.5.3.7 and braid won't work with that.
There a patch in the macports trac to allow you to get git-core 1.5.4.2, here (thanks jakehow):
http://trac.macosforge.org/projects/macports/ticket/13956

= INSTALLING FORM RUBYGEMS

# gem not published yet. please install from git
sudo gem install braid

= INSTALLING FROM GIT

# install deps
sudo gem install main
sudo gem install open4

git clone git://github.com/evilchelu/braid.git
cd braid
rake install_gem

= USAGE

# create a git repo
git init moo
cd moo

# ideally you will also do these, but they are just good practices
git config --global merge.summary true
git checkout -b localwork

# adding mirrors
braid add git://blah
braid add svn://muh
gitk braid/track
git merge braid/track

# updating mirrors
braid update muh
braid update
git merge braid/track

# removing mirrors
braid remove blah
braid remove muh
git merge braid/track

= MORE USAGE

Braid stores it's metadata in a file called ".braids" located in the current directory where braid is run.

For full usage docs run:

braid help
braid help COMMANDNAME

= POSSIBLE PROBLEMS

In a multiuser setup people won't have all the remote branches setup. But nothing is really lost, yet.

Theoretically if you add the same remotes on other checkout and set the branches correctly things could be made to just 
work(TM).

= ISSUES

Braid barely works and you'll definitely encounter bugs. Help is appreciated :).

For now, known issues and feature requests are stored in the TODO.txt file in the root of the braid checkout.