aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'refs/merge-requests/20' of gitorious.org:svn2git/svn2git into ↵Torgny Nyblom2012-11-231-2/+8
|\ | | | | | | mr/20
| * Allow user-overriding of default email domainUlrich Spörlein2012-05-111-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | Lazy projects where svn user X has email X@project.org don't need to compile (and update) an identity-map for rolling conversions. This can be mixed with a real identity-map, so only misses in the map will have the user then show up as X@project.org Also change the defaults somewhat. I don't like the NFS reserved username nobody to show up in SVN or git logs, but am keeping that for now.
* | Fixed git-svn authors map compatiblity. SVN is able to use committer/author ↵Florian Zumkeller-Quast2012-06-131-4/+10
|/ | | | names with whitespaces inside. In this case, the git-svn author map is the better format. The first whitespace is not a good identifier as separator but the first ' = ' sequence is. Changed the behaviour to fix this.
* Add support for adding svn commit info metadata as git notes.Modestas Vainius2011-04-241-0/+1
| | | | | | The patch add --add-metadata-notes command line option which is similar to --add-metadata except rather embedding svn commit info into the commit message, it is added as a note for the respective commit.
* Support ranges in the revisions fileTorgny Nyblom2011-01-171-10/+34
|
* Print how we were invokedTorgny Nyblom2011-01-151-0/+4
|
* Add option for using the real content of an SVN branch when creating aTorgny Nyblom2010-12-211-0/+1
| | | | new branch instead of using the contents of the git "from" branch.
* Fix the --version optionTorgny Nyblom2010-12-211-0/+4
| | | | | When supplying --version the git commit that was used to create the version should be printed to stdout.
* Ditch PrefixingRepository in favor of a memmber variable inTorgny Nyblom2010-12-151-1/+1
| | | | | [FastExport]Repository Some minor reordering
* Duh, do not try and extract options before they are parsed.Torgny Nyblom2010-12-121-1/+1
|
* Add an option to print some stats after a run.Torgny Nyblom2010-12-041-1/+3
|
* QList<int> -> QSet<int>Torgny Nyblom2010-11-271-5/+4
|
* Add an option to parse a list (in a file) of revisions that should beTorgny Nyblom2010-11-261-0/+40
| | | | used.
* Allow more then one rule file to be used in a single run.Torgny Nyblom2010-09-291-5/+5
|
* White space cleanup & debug statmentsTorgny Nyblom2010-09-041-34/+34
|
* Merge branch 'master' of git://gitorious.org/svn2git/svn2gitRaja R Harinath2010-08-241-1/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | The conflict was mainly around two different approaches to fixing the linear commitMarks issue. The precise tracking of commit marks per branch is better, and that's how I resolved the merge conflict. While at it, I also removed the "revision-*" files, since the "log-*" files already have the same information, and the branch information too. Conflicts: src/repository.cpp src/repository.h
| * Allow comments (start with '#') in accounts mapJosé Manuel Santamaría Lema2010-06-211-1/+5
| |
* | Provide a way to merge repositoriesRaja R Harinath2010-07-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Suppose you have multiple repositories in SVN that you want to merge into a single one in GIT, it can get very messy to handle all the special-case rules. Instead, we introduce a new "forwarding repository" concept, which looks like repository subordinate repository unified prefix foo/ end repository This forwards all commits on the "subordinate" SVN tree to the "unified" GIT tree, with each file prefixed with "foo/".
* | Extract out public methods of Repository into an abstract base classRaja R Harinath2010-07-221-1/+1
| | | | | | | | Rename Repository to FastImportRepository. We will be introducing new types soon.
* | Make the new incremental mode permanentRaja R Harinath2010-07-191-25/+21
| | | | | | | | | | With the changes made to Repository::reloadBranches when --incremental was introduced, the older mode wasn't working, anyway.
* | Make error handling of --incremental and --resume-from idempotentRaja R Harinath2010-07-111-14/+30
| | | | | | | | | | | | | | | | | | | | | | When --resume-from failed in incremental mode, the log files that detected the error condition were truncated. So, if the same command line was executed again, the invocation would go through. We now restore the log files from backup when we detect we're going to fail. The restored log files may not all be the same as we originally started with, but we only truncate information that would anyway be truncated on the next successful run.
* | make --incremental robust to inconsistent import directoriesRaja R Harinath2010-07-101-2/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | An interrupted import (say with Ctrl-C) can leave the import directory in an inconsistent state. This can be due to checkpointing fast-import only occassionally, but updating log-* files immediately, and/or other reasons. The incremental mode can detect certain such situations and rewind back to a safe state. Note that since the default commit-interval is quite large, this rewind can end up backtracking a lot. Note also that import interrupted under the control of svn2git, say, for missing rules should leave the import directory in a consistent state for the purpose of svn2git.
* | Introduce incremental mode with --incremental flagRaja R Harinath2010-07-091-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | We use the progress logs that we carefully maintained to recreate the branch data structures, as described in earlier commits. A major change/improvement is that reloadBranches() now uses the marks file and internal data structures to prime the fast-import rather than using git-rev-parse. We also handle --resume-from properly, by truncating the log file to revisions that only precede the revision resumed from. Note that git fast-import allows marks to be reused without any extra processing.
* | Exit with EXIT_FAILURE if svn.exportRevision() failedRaja R Harinath2010-07-011-4/+8
|/
* Add support for git-svn author filesSebastian Pipping2010-03-271-1/+8
|
* Add command line option to print what rules are used on each file.Torgny Nyblom2010-03-251-0/+1
|
* Add commandline option for when to flush the commit queue.Torgny Nyblom2010-03-251-0/+1
|
* Change license on files where I am copyright holder to GPLv3.Thiago Macieira2010-03-031-1/+1
| | | | | The GPLv2 is incompatible with the Apache 2.0 License used in the SVN libs. So everyone was using this software under the GPLv3 anyway. Formalise it now.
* make dry-run a command line switch instead of a compile-time switchThomas Zander2009-10-211-1/+1
|
* Replace options with the one from vng and use its options for better usabilityThomas Zander2009-10-211-10/+48
|
* Don't let me waste 2 hours doing an import if the identity map file wasn't ↵Thiago Macieira2009-07-201-1/+4
| | | | found...
* Add support for annotated tagsThiago Macieira2009-06-081-1/+5
|
* General improvements and reload branches automatically when starting ↵Thiago Macieira2008-08-181-2/+0
| | | | git-fast-import
* Implement the identity mapThiago Macieira2007-12-281-0/+26
|
* Support an upper limit of revision numbersThiago Macieira2007-12-241-1/+3
|
* Add support for resuming workThiago Macieira2007-12-241-3/+11
|
* Add a better option-parserThiago Macieira2007-12-241-7/+5
|
* Fix crashes and improve behaviourThiago Macieira2007-12-241-1/+1
|
* Handle errors correctlyThiago Macieira2007-12-231-1/+2
|
* And run the SVN code tooThiago Macieira2007-12-231-0/+11
|
* Add SVN codeThiago Macieira2007-12-231-8/+0
|
* Add main.cppThiago Macieira2007-12-231-0/+55