It would be great if stuff like the current CVSROOT or
the HOME directory were somehow accessible (read-only
would suffice) from macros. Otherwise there always has
to be a lot of guesswork or unnecessary user queries in
the macros.
this would be handy indeed,
being able to access the settings for the default editor, or
what external Diff program is used to automatically trigger
diffs would be nice
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have finally been successful to get at least at some of
the global prefs, namely those that are simple strings, e.g.:
p = Persistent('P_ExtDiff', '', 0)
print str(p)
will dump the fully qualified name of the external diff tool
(other values of potential interest for macro writers
include P_Viewer, P_Home and P_SSHName - just take a look at
HKCU\Software\WinCvs\wincvs\CVS settings for more).
I have however not (yet) been able to get at any of the
numeric values, like P_ZOption, P_ZLevel or P_QuietOption,
nor at the entries that contain lists, e.g. P_OldModules.
For this reason my most sought after value, P_Cvsroot, is
still useless to me as I cannot sensibly read P_Authen which
I assume to contain the index of the authentication
protocol, which is unfortunately not part of P_Cvsroot.
Anyway, this is a BIG step forward and I will now take a
deeper look into the source to see whether I might be able
to get support for numeric and maybe even list-type entries
as well.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Just a reminder that CVSROOT settings as we know it will go
away and it will simply be a temporary parameter used during
checkout and such and stored by CVS itself later on.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=119527
Sounds like a good idea.
Logged In: YES
user_id=895838
this would be handy indeed,
being able to access the settings for the default editor, or
what external Diff program is used to automatically trigger
diffs would be nice
Logged In: YES
user_id=920074
Is there any plan to get this done? I would like to find the
name/location of the user diff tool so it can be run from a
macro.
Logged In: YES
user_id=158827
I have finally been successful to get at least at some of
the global prefs, namely those that are simple strings, e.g.:
p = Persistent('P_ExtDiff', '', 0)
print str(p)
will dump the fully qualified name of the external diff tool
(other values of potential interest for macro writers
include P_Viewer, P_Home and P_SSHName - just take a look at
HKCU\Software\WinCvs\wincvs\CVS settings for more).
I have however not (yet) been able to get at any of the
numeric values, like P_ZOption, P_ZLevel or P_QuietOption,
nor at the entries that contain lists, e.g. P_OldModules.
For this reason my most sought after value, P_Cvsroot, is
still useless to me as I cannot sensibly read P_Authen which
I assume to contain the index of the authentication
protocol, which is unfortunately not part of P_Cvsroot.
Anyway, this is a BIG step forward and I will now take a
deeper look into the source to see whether I might be able
to get support for numeric and maybe even list-type entries
as well.
Logged In: YES
user_id=119527
Just a reminder that CVSROOT settings as we know it will go
away and it will simply be a temporary parameter used during
checkout and such and stored by CVS itself later on.