Working setup with vcsh & mr

Richard Hartmann richih.mailinglist at gmail.com
Sat Apr 23 02:05:33 CEST 2011


Hi all,

I managed to get vcsh and mr to work together nicely. I am still not
100% happy with the directory naming & layout, but at least it's
working. There are still some rough edges and I am still trying to get
a proper initial cloning process working. If you are interested to
chip in, have a look at [1].
My version of vcsh employs a new syntax, `vcsh help` will tell you what to do.

I hope everything is more or less self-explanatory.

richih at adamantium ~ % ls -l ~/.config/mr/available.d
-rw-r--r-- 1 richih richih 125 Apr 22 20:44 git-annex
-rw-r--r-- 1 richih richih  72 Apr 19 22:26 ikiwiki
-rw-r--r-- 1 richih richih  80 Apr 23 01:39 mr
-rw-r--r-- 1 richih richih 122 Apr 22 23:26 richardhartmann.de
-rw-r--r-- 1 richih richih 190 Apr 23 01:36 zsh.vcsh
richih at adamantium ~ % ls -l ~/.config/mr/config.d
lrwxrwxrwx 1 richih richih 24 Apr 19 02:03 git-annex -> ../available.d/git-annex
lrwxrwxrwx 1 richih richih 22 Apr 19 02:03 ikiwiki -> ../available.d/ikiwiki
lrwxrwxrwx 1 richih richih 17 Apr 19 02:03 mr -> ../available.d/mr
lrwxrwxrwx 1 richih richih 33 Apr 22 23:28 richardhartmann.de ->
../available.d/richardhartmann.de
lrwxrwxrwx 1 richih richih 23 Apr 23 01:22 zsh.vcsh -> ../available.d/zsh.vcsh
richih at adamantium ~ % cat ~/.mrconfig
include = cat ~/.config/mr/config.d/*
richih at adamantium ~ % cat ~/.config/mr/available.d/zsh.vcsh
[$HOME/.config/vcsh/repo.d/zsh.git]
checkout = echo "need to implement vcsh init first"
update = zsh ~/.zsh/functions/vcsh run zsh git pull
push = zsh ~/.zsh/functions/vcsh run zsh git push
richih at adamantium ~ %


Have fun with this; feedback welcome,
Richard


[1] http://www.spinics.net/lists/git/msg156123.html


More information about the vcs-home mailing list