GitSvnHack is (or will be) a set of tools for managing git-svn repositories with svn:externals.
License: GPL version 3 or any later version
Copyright 2013 Sean Patrick Santos <[email protected]>
- Python
- 3.2 or later
- Git
- 1.8.1
- Subversion
- 1.7
- Python 3.3 or the Python mock library.
- [-] init
- [X] Add interface.
- [X] Add implementation.
- [ ] Write –ignore-revs information to the config file.
- [ ] Create GitSvnRepo object from an existing repo.
- [X] Create options object.
- [ ] fetch
- [X] clone
- [X] Handle -s option properly.
- [X] Handle -r option properly.
- [ ] rebase
- [ ] Look at the output from git-svn to make sure I really have all the options in the wrappers.
- [ ] Get clones of git-svn repositories working (creating a clone with the Subversion repository as upstream, not the git-svn one).
- [ ] Split out subdirectories as if they were externals.
- [ ] The actual external handling.
- [ ] Handle svn:ignore.
- [ ] Implement “check” to guarantee that revisions of the trunk and/or tags in Subversion are actually identical to the checked-out tags in Git.
- [ ] Read/write of “mapping” configuration files between git and svn.
- [ ] Multiple Subversion repos for one GitSvnRepo.
- [ ] Create a “migrate” command to convert svnhack’s external handling to submodules.
- [ ] Handle authors file.
- [ ] Convert svn:ignore to .gitignore.
- [ ] Error messages for common problems with options.
- [ ] Missing required non-option arguments (i.e. catch IndexError if you try to call commands.init with no path).
- [ ] Missing layout option for init/clone (-T or -s).
- [ ] Specifying an argument multiple times (e.g. -r for clone).
- [ ] Fix passing an empty string to an option (if git-svn allows this?).
- [ ] Allow full URL arguments to -T/-t/-b.
- [ ] Allow –ignore-revs to contain ranges (and be specified multiple times?).
- [ ] Create man page.
- [ ] Read git-svn sections of config file rather than using a separate
file for GitSvnHack.
- [ ] Figure out something more correct than looking at “remotes/trunk” in get_svn_revision.