WormBase Source Code

From WormBaseWiki
Revision as of 21:51, 16 April 2009 by Tharris (talk | contribs) (New page: The WormBase source code is maintained using the distributed SCM system Mercurial. We use BitBucket.org as a convenient place to host the code and track issues: http://bitbucket.org/tha...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

The WormBase source code is maintained using the distributed SCM system Mercurial. We use BitBucket.org as a convenient place to host the code and track issues:

http://bitbucket.org/tharris/wormbase/

Checking out the code

cd ~/projects
$ hg clone http://bitbucket.org/tharris/wormbase/

Pulling in Changes and Updates

$ hg pull -u 

Pushing Changes to the Repository

$ hg push 

Reference: Migrating to Mercurial

After creating the repository on BitBucket, I cloned it and populated with a exported version of source from SVN.
$ hg clone http://bitbucket.org/harris/wormbase
$ mv ~/wormbase.svn/* wormbase/.

# Add and commit the files
$ hg add
$ hg commit -m 'Initial import of my old svn repository'

# Push the changes back to BitBucket
$ hg push