aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Create backup reference before deletion of the original branchJehan Bing2011-03-211-3/+4
| | | | | | Ensure that the backup reference is created before deleting the original branch. As it was, the deletion was executed earlier causing the backup reference to point to a non-existing branch so was not created.
* Remove unnecessary const casts.Nicolás Alvarez2011-03-161-4/+4
|
* Commit branch creation when requested and not on next transaction commitTorgny Nyblom2011-02-071-1/+3
| | | | | | | Branches was created by adding the command to a list, this list was then written to git when the next transaction was committed. This had the side effect that if the branch creation was the last thing the branch was never created.
* Fix encoding of author names.Nicolás Alvarez2011-01-291-0/+1
| | | | | | Author names were being properly passed through fromUtf8(), but then sent to a QTextStream using the system's locale. This patch forces the text stream to always use UTF-8.
* Support ranges in the revisions fileTorgny Nyblom2011-01-171-10/+34
|
* Delay transaction creation untill usage.Torgny Nyblom2011-01-161-8/+8
| | | | | This might fix the issue with an extra empty diff commit before all tags.
* Print how we were invokedTorgny Nyblom2011-01-151-0/+4
|
* Only print warning if it appliesTorgny Nyblom2011-01-151-1/+1
|
* Fix serious performance regression.Nicolás Alvarez2010-12-231-0/+3
| | | | | | | In Repository::commit, don't call startFastImport() if we have nothing to write to the fastImport stream. startFastImport() may start new git-fast-import processes if they were previously killed, so it may be extremely slow to call it frequently if it's not necessary.
* Add option for using the real content of an SVN branch when creating aTorgny Nyblom2010-12-212-0/+16
| | | | new branch instead of using the contents of the git "from" branch.
* Fix the --version optionTorgny Nyblom2010-12-212-0/+12
| | | | | When supplying --version the git commit that was used to create the version should be printed to stdout.
* Make sure that there are merges recorded before trying to read the last oneTorgny Nyblom2010-12-211-1/+1
|
* Try and fix cvs2svn multiple merge points for branches and tags.Torgny Nyblom2010-12-211-19/+27
| | | | Might still need some logic for detecting the correct from branch.
* Make the tagging commands visible in the gitlog aswellTorgny Nyblom2010-12-201-6/+6
|
* Only fetch revision properties once per revisionTorgny Nyblom2010-12-161-1/+6
|
* Only call startFastImport when neededTorgny Nyblom2010-12-161-1/+1
|
* Be more clear about what are warningsTorgny Nyblom2010-12-164-22/+22
|
* Move branch creation/deletion/restting to Repository and write these inTorgny Nyblom2010-12-153-5/+23
| | | | | | commit() Prepare for handling cvs2svn borked tags/branches
* Ditch PrefixingRepository in favor of a memmber variable inTorgny Nyblom2010-12-153-282/+181
| | | | | [FastExport]Repository Some minor reordering
* Delete before other changesTorgny Nyblom2010-12-131-3/+15
| | | | | Fix issue where if a branch reset was triggered before a branch deletion in the same revision the reset was overridden by the deletion
* call startFastImport where it is used.Torgny Nyblom2010-12-131-4/+2
|
* Code styleTorgny Nyblom2010-12-131-1/+2
|
* 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-044-4/+112
|
* Allow more then one variable to be used on a line.Torgny Nyblom2010-11-301-2/+1
|
* 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.
* Merge branch 'master' of gitorious.org:svn2git/svn2gitTorgny Nyblom2010-11-141-4/+1
|\
| * Fix detecting directory movesNiko Sams2010-11-131-4/+1
| | | | | | | | | | | | | | | | | | is_dir wasn't reported correctly, I guess because the path didn't exist anymore at that revision. Reuse the existing wasDir function as it works perfectly. With not detecting the path as a dir, the / got not added, an thus the rule for the source not found.
* | Print revision information with "copy from" warningTorgny Nyblom2010-11-011-1/+1
|/
* Fix issue with variables not being defined when reading include filesTorgny Nyblom2010-11-012-5/+5
|
* Print the missing from path when warning about missing sourceTorgny Nyblom2010-11-011-1/+1
|
* Fix filename and linenumber for included rulefiles.Torgny Nyblom2010-10-262-124/+117
|
* Better include path (FreeBSD patch from Uli - http://gitorious.org/~uqs)Torgny Nyblom2010-10-181-2/+2
|
* Allow files to be matchedTorgny Nyblom2010-10-081-2/+0
|
* Make sure fastImport is started before adding fileNiko Sams2010-10-071-0/+1
|
* Merge branch 'master' of gitorious.org:svn2git/svn2gitNiko Sams2010-10-048-53/+141
|\
| * Allow more then one rule file to be used in a single run.Torgny Nyblom2010-09-297-40/+108
| |
| * const++Torgny Nyblom2010-09-291-2/+2
| |
| * Die when a rule file contains an invalid regexpTorgny Nyblom2010-09-291-0/+4
| |
| * Unify debug messages and Match structsTorgny Nyblom2010-09-284-11/+27
| |
* | support svn commit that converts a link into a file in one commitNiko Sams2010-10-041-4/+10
|/ | | | this happens in kde svn rev 841619
* call startFastImport() in commit()Niko Sams2010-09-241-1/+1
| | | | | | | | This fixes importing large svn commits that get imported into a large number of git repositories. It happened that a process was closed (in ProcessCache::touch) before commit() and so the commit wasn't imported correctly. And remove the touch() call as that is done now in startFastImport()
* touch fastImport process in startFastImport()Niko Sams2010-09-241-0/+2
| | | | | | | This is needed to make sure that not too many processes are running and we run out of ressources. Calling touch only in commit is not enough as startFastImport is called in other functions as createBranch too - and that can result in too many processes.
* add assertions to write() methods to make sure nothing is written into a ↵Niko Sams2010-09-241-0/+8
| | | | closed fast-import
* output repository name that crashed, helpful to know which logs to look atNiko Sams2010-09-241-1/+1
|
* Readd br.marks.last() to various places as a mark of "0" is used to markTorgny Nyblom2010-09-171-4/+4
| | | | | | a branch as deleted. Thanks Raja R Harinath for spotting it.
* Fix assert when br.marks is emptyTorgny Nyblom2010-09-151-1/+1
|
* Make the fastImport into a logging instance, logging is enabled when the ↵Torgny Nyblom2010-09-131-7/+67
| | | | "--debug-rules" flag is active.
* Add posibility to use variables in rule filesTorgny Nyblom2010-09-101-0/+15
| | | | | "declare var=value" now "${var}" in any line will be replaced by "value"