Re: PATCHES: more refactoring and skeletal cvs2hg

Greg Ward <[email protected]>
Newsgroups gmane.comp.version-control.subversion.cvs2svn.devel
Message-ID <[email protected]>
New and improved; assume patches are untouched from previous version
unless noted otherwise:

1) Factor out some duplication between SVNRunOptions and GitRunOptions.
Specifically, extract common code from the two
_get_extraction_options_group() methods.
http://vc.gerg.ca/hg/cvs2svn-patches/file/tip/refactor-extraction-options.patch

2) GitRunOptions, SVNRunOptions: use super() where appropriate.
http://vc.gerg.ca/hg/cvs2svn-patches/file/tip/use-super.patch

3) Reduce callback_manpage() duplication between SVNRunOptions and
GitRunOptions.
*MODIFIED* man page components are now class attributes
http://vc.gerg.ca/hg/cvs2svn-patches/file/tip/refactor-callback-manpage.patch

4) run_options: change 'authors' from a string to a list of author names.
Should make it easier to add authors for separate tools.
*NEW*
http://vc.gerg.ca/hg/cvs2svn-patches/file/tip/reformat-authors.patch

6) Add hg_run_options.py with class HgRunOptions.
*MODIFIED* man page components are now class attributes
http://vc.gerg.ca/hg/cvs2svn-patches/file/tip/hg-run-options.patch

7) Add cvs2hg top-level script.
*MODIFIED* give nice error if no Mercurial installed at all
http://vc.gerg.ca/hg/cvs2svn-patches/file/tip/cvs2hg-main.patch

8) run-tests: combine run_cvs2svn() and run_cvs2git() to run_script().
http://vc.gerg.ca/hg/cvs2svn-patches/file/tip/run-tests-run-script.patch

9) run-tests: add test of cvs2hg man page generation
*MODIFIED* skip hg test if hg not installed
http://vc.gerg.ca/hg/cvs2svn-patches/file/tip/run-tests-cvs2hg-man.patch

Greg

------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1667&dsMessageId=2388718

To unsubscribe from this discussion, e-mail: [[email protected]].
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.