[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] New branch name with no other changes
From: |
Jerome Baum |
Subject: |
Re: [Monotone-devel] New branch name with no other changes |
Date: |
Sun, 12 Jun 2011 17:39:28 +0200 |
On Sun, Jun 12, 2011 at 17:13, Stephen Leake
<address@hidden> 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 address@hidden
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
- Re: [Monotone-devel] New branch name with no other changes, (continued)
- Re: [Monotone-devel] New branch name with no other changes, Stephen Leake, 2011/06/12
- Re: [Monotone-devel] New branch name with no other changes, CooSoft Support, 2011/06/12
- Re: [Monotone-devel] New branch name with no other changes, Jerome Baum, 2011/06/12
- Re: [Monotone-devel] New branch name with no other changes, Thomas Keller, 2011/06/12
- Re: [Monotone-devel] New branch name with no other changes, Hendrik Boom, 2011/06/12
- Re: [Monotone-devel] New branch name with no other changes, Stephen Leake, 2011/06/12
- Re: [Monotone-devel] New branch name with no other changes, Stephen Leake, 2011/06/12
- Re: [Monotone-devel] New branch name with no other changes,
Jerome Baum <=
Re: [Monotone-devel] New branch name with no other changes, Thomas Keller, 2011/06/09