Some Macros topic.
"Hiroaki Itoh" <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.gui.devel |
|---|---|
| Message-ID | <[email protected]> |
I have some macros topic.
I couldn't decide which I should post to the Tracker or here,
but I'll post here...
(1)cvs2cl.py
(1-1)Line 185:
- print 'CVS returned Exit Code %d. Aborting ChangeLog
creation.'
+ print 'CVS returned Exit Code %d. Aborting ChangeLog
creation.' % code
(1-2)BuildModuleLog does really work?
I think the code does treat by mistake the relationship
between module and basedir.
Like this? :
=====================================================================
@@ -493,6 +493,10 @@
module = self.readFile(os.path.join
(basedir, 'CVS', 'Repository'))
else:
module = os.path.basename(basedir)
+ tmp = module
+ while (not tmp == ''):
+ tmp,b = os.path.split(tmp)
+ module = '../' + module
ok, module = App.PromptEditMessage('Module to log:', module)
if ok:
ok, filename = App.PromptEditMessage('Logfile name:\n'\
=====================================================================
I have tested with slightly old CVSNT(2.0.14).
(2)discrepancy between the code and the error message on
AddRootModule.py:
if os.path.exists(os.path.join(basedir, 'CVS')):
console << kRed << 'Parent directory may not be CVS-
controlled!\n' << kNormal
return
'Parent directory may be already CVS-controlled!'? or lack of
`not'?
(3)It would be nice if 'Admin/Admin Macros' had 'Reload Macro', I
think.
(4)I want `flexibility cvs add' Macro like RecursiveAddTk.py but no-
recurse.
# I actually need `cvs add -ko'.
P.S.
w.r.t TCL on cygwin problem:
* I think at least we should not load any DLL if the settings
(WinCvs -> TCL DLL) is wrong.
* It would be nice if WinCvs had the setting for process local
PATH environment variable.
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/NhFolB/TM
---------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/cvsgui-dev/
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/