Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: fsvs default path

Discussion topic

Back to topic list

Re: fsvs default path

Author pmarek
Full name P.Marek
Date 2010-06-11 08:53:59 PDT
Message Hello Gunnar!

> just a quick question one perhaps easy to solve.
> I want to define a permanent default path in fsvs config or per environment
> which is used when no path is defined on commandline.
> The users turn to perform checkins from their home folder
> ~$ fsvs ci -m "commit msg"
> and forget to define / or destination dir.
> I tried something like ~$ FSVS_EXP_WC_ROOT=/ fsvs st
> but this is not the way to go . Either softroot is not suitable for my approach.
> Any idea?
Well, the easiest way should be to put a shell script in a location that is earlier in
$PATH, and if it's given only a single parameter it adds the "/".

If that's not what you want - please take a look at waa__find_common_base2():
    /* Step 0: Special case for *no* arguments. */

Other potentially interesting functions are waa__find_common_base(),
waa__partial_update(), perhaps even waa__given_or_current_wd().



PS: Did you have any luck with pushing 1.2.2 into debian unstable?

Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

« Previous message in topic | 2 of 2 | Next message in topic »


Show all messages in topic

fsvs default path tekknokra Gunnar Thielebein 2010-06-11 08:22:08 PDT
     Re: fsvs default path pmarek P.Marek 2010-06-11 08:53:59 PDT
Messages per page: