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. */
                nullp[0]=start_path;

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


Regards,

Phil


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)!

------------------------------------------------------
http://fsvs.tigris.org/ds/viewMessage.do?dsForumId=3928&dsMessageId=2619725

To unsubscribe from this discussion, e-mail: 
[[email protected]].

Reply via email to