How to setup branch tracking when starting local?

2012-02-07 Thread Thomas Koch
Hi, I've written a twoline script that sets up the remote for a vcsh repo: #!/bin/sh VCSH_REMOTE_BASE=koch.ro:git/vcsh vcsh $1 remote add origin $VCSH_REMOTE_BASE/$1.git When I first run mr push I got the complaint: No refs in common and none specified; doing nothing. Perhaps you should

Re: .mrconfig in vcsh docu should not rely on XDG_ variables set

2012-02-07 Thread Vincent Demeester
On mar., févr. 07, 2012 at 10:21:15 +0100, Thomas Koch wrote: Hi, Hi, I've changed the include line in .mrconfig to account for the normal case that $XDG_CONFIG_HOME is not set: include = cat ${XDG_CONFIG_HOME:-$HOME/.config}/mr/config.d/* This is already handled in vcsh (from RichiH at

Re: .mrconfig in vcsh docu should not rely on XDG_ variables set

2012-02-07 Thread Richard Hartmann
On Tue, Feb 7, 2012 at 12:31, Vincent Demeester vinc...@demeester.fr wrote: Line 10: [ -z $XDG_CONFIG_HOME ] XDG_CONFIG_HOME=$HOME/.config He was referring to README.md. -- Richard PS: Forgot to hit send, thus the delay in sending the latter. ___

Re: How to setup branch tracking when starting local?

2012-02-07 Thread Brian May
On 7 February 2012 21:41, Thomas Koch tho...@koch.ro wrote: #!/bin/sh VCSH_REMOTE_BASE=koch.ro:git/vcsh vcsh $1 remote add origin $VCSH_REMOTE_BASE/$1.git Maybe: #!/bin/sh VCSH_REMOTE_BASE=koch.ro:git/vcsh vcsh run $1 remote git add origin $VCSH_REMOTE_BASE/$1.git vcsh run $1 remote git push