]> git.madduck.net Git - code/myrepos.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Merge branch 'master' into mrconfig_bestguess
authorJoey Hess <joey@kodama.kitenet.net>
Thu, 18 Oct 2007 21:30:44 +0000 (17:30 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Thu, 18 Oct 2007 21:30:44 +0000 (17:30 -0400)
1  2 
mr

diff --cc mr
index 14f41656fee0844aac030602aea22c059e0ba0d2,53f7a068c9b437efd249a1de87f9699aab4db459..19c29aa68f064595d5e4aa6c421ddbf383d0e4c1
--- 1/mr
--- 2/mr
+++ b/mr
@@@ -893,8 -894,17 +902,17 @@@ register 
                if [ -z "$url" ]; then
                        error "cannot determine bzr url"
                fi
 -              echo "Registering bzr url: $url"
 +              echo "Registering bzr url: $url in $MR_CONFIG"
                mr -c "$MR_CONFIG" config "$(pwd)" checkout="bzr clone $url $basedir"
+       elif [ -d CVS ]; then
+               repo=$(cat CVS/Repository)
+               root=$(cat CVS/Root)
+               if [ -z "$root" ]; then
+                       error "cannot determine cvs root"
+               fi
+               echo "Registering cvs repository $repo at root $root"
+               mr -c "$MR_CONFIG" config "$(pwd)" \
+                       checkout="cvs -d '$root' co -d $basedir $repo"
        else
                error "unable to register this repo type"
        fi