PATCHES: more refactoring and skeletal cvs2hg

Greg Ward <[email protected]>
Newsgroups gmane.comp.version-control.subversion.cvs2svn.devel
Message-ID <[email protected]>
Finally, a series of patches that culminates in the addition of cvs2hg
itself.  It doesn't *do* anything yet apart from parse options and
generate a man page.  But it's a start.

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.
http://vc.gerg.ca/hg/cvs2svn-patches/file/tip/refactor-callback-manpage.patch

4) Add hg_run_options.py with class HgRunOptions.
http://vc.gerg.ca/hg/cvs2svn-patches/file/tip/hg-run-options.patch

5) Add cvs2hg top-level script.
http://vc.gerg.ca/hg/cvs2svn-patches/file/tip/cvs2hg-main.patch

6) 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

7) run-tests: add test of cvs2hg man page generation
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=2388297

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.