Re: New branch name with no other changes

Jerome Baum <[email protected]>
Newsgroups gmane.comp.version-control.monotone.devel
Message-ID <[email protected]>
On Sun, Jun 12, 2011 at 17:13, Stephen Leake
<[email protected]> wrote:
> What would the equivalent path on Windows be? The equivalent of
> ~/.monotone/monotonerc is
>
> c:/Documents and Settings/Stephe Leake/Application Data/monotone/monotonerc
>
> so I guess /etc/monotonerc would be
>
> c:/Documents and Settings/All Users/Application Data/monotone/monotonerc
>
> Windows doesn't do symlinks, but 'dofile' is close enough.

Given all these troubles, why not just let the sysadmin handle a
system-wide config file? Alias "mtn" to "mtn --rcfile /etc/monotonerc"
and be done. Gives the user an easy way to ignore the rcfile:
--clear-rcfiles. All of this is already built-in to monotone and I
don't see a reason to add more options ("load system rcfile" vs.
"don't do that"), also compile time ("location of system rcfile"),
when this can be easily achieved w/out changes to monotone.

However, a paragraph or two about doing this might be in order? e.g.
"You can define a shell alias for all users, or write a shell script
and place it before the real mtn binary in PATH. On Windows, use a
batch file."

-- 
Jerome Baum
tel +49-1578-8434336
email [email protected]
web www.jeromebaum.com
--
PGP: A0E4 B2D4 94E6 20EE 85BA E45B 63E4 2BD8 C58C 753A
PGP: 2C23 EBFF DF1A 840D 2351 F5F5 F25B A03F 2152 36DA
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.