dynamically set VCSH_BASE and XDG_CONFIG_HOME

David Bremner bremner at unb.ca
Mon Oct 29 14:19:54 CET 2018


bernd at bschu.de writes:

> Is it possible not only to handle files in $HOME with vcsh ?
>
> I have no experience with vcsh.
> Do you think the following script will work as expected ?
> Or is there a design problem ?

I don't know about your script, but the following has worked OK for me
in the past (a config snippet for myrepos)

[$HOME/.config/vcsh/repo.d/pl.git]
checkout = VCSH_BASE=$HOME/teaching/pl vcsh clone git at gitolite-host:vcsh/pl

So I guess the general principle of overriding VCSH_BASE is ok.

d


More information about the vcs-home mailing list