Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Do not initialize master branch if branches were specified in the ruleset. | Modestas Vainius | 2011-04-24 | 1 | -2/+3 |
| | |||||
* | Initialize branches specified in the create repository ruleset. | Modestas Vainius | 2011-04-24 | 1 | -1/+1 |
| | | | | | Otherwise, what's the point of that directive. Sometimes repository does not start from the master branch. | ||||
* | Do not recurse() into the svn path unless it is an existing directory. | Modestas Vainius | 2011-04-24 | 1 | -0/+3 |
| | | | | Otherwise "action recurse" may fail on files or something else unknown. | ||||
* | Use +0000 instead of -0000 for timezone indicator in timestamps. | Nicolás Alvarez | 2011-04-18 | 1 | -2/+2 |
| | | | | | | Git seems to always output +0000, so when filter-branching, every single commit changes hash because dates are changed from - to +0. | ||||
* | Add support for default values in variable substitutions. | Nicolás Alvarez | 2011-04-11 | 1 | -4/+12 |
| | | | | | | If there is no variable 'foo' set, ${foo} exits with a fatal error. With this patch, you can use ${foo|sometext}, which will substitute to 'sometext' if the variable 'foo' isn't set. The default text may be empty. | ||||
* | Limit variable names to letters, numbers and underscores. | Nicolás Alvarez | 2011-04-11 | 1 | -2/+4 |
| | | | | | | | The parser used to allow any non-whitespace character, which could cause problems in practice. For example, you could create a variable with } or = in the name, or a character we may want to use in a syntax extension later. | ||||
* | Save deleted branches in a visible namespace | Sebastian Pipping | 2011-04-08 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | - The branch is first created properly and then deleted (line "progress SVN r77 branch config-header = :0 # delete") - Jehan's post-1.0.3 commit 584005f2e26149282aa12c4a0367d250caaf3918 writes a backup of the branches latest ref to refs/backup/ on deletion. Many thanks for that commit! However, in my opinion the problem with the current code is that it makes it much too easy to lose history during the conversion to Git. Without a tag or branch pointing to it the commits will fall off easily, especially if people use "git clone" on the bare Git repository created by svn2git. It would be safer and useful to create visible tags for this, e.g. refs/tags/branch-bugfix17-deleted. My attached patch changes Jehan's code to do just that. Please consider application - this patch really matters to me. If you'd rather have both a ref in refs/backup/ and in refs/tags/ or require a command line option for it I can adjust the patch for you. Thanks for listening, | ||||
* | Create backup reference before deletion of the original branch | Jehan Bing | 2011-03-21 | 1 | -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 Alvarez | 2011-03-16 | 1 | -4/+4 |
| | |||||
* | Commit branch creation when requested and not on next transaction commit | Torgny Nyblom | 2011-02-07 | 1 | -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 Alvarez | 2011-01-29 | 1 | -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 file | Torgny Nyblom | 2011-01-17 | 1 | -10/+34 |
| | |||||
* | Delay transaction creation untill usage. | Torgny Nyblom | 2011-01-16 | 1 | -8/+8 |
| | | | | | This might fix the issue with an extra empty diff commit before all tags. | ||||
* | Print how we were invoked | Torgny Nyblom | 2011-01-15 | 1 | -0/+4 |
| | |||||
* | Only print warning if it applies | Torgny Nyblom | 2011-01-15 | 1 | -1/+1 |
| | |||||
* | Fix serious performance regression. | Nicolás Alvarez | 2010-12-23 | 1 | -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 a | Torgny Nyblom | 2010-12-21 | 2 | -0/+16 |
| | | | | new branch instead of using the contents of the git "from" branch. | ||||
* | Fix the --version option | Torgny Nyblom | 2010-12-21 | 2 | -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 one | Torgny Nyblom | 2010-12-21 | 1 | -1/+1 |
| | |||||
* | Try and fix cvs2svn multiple merge points for branches and tags. | Torgny Nyblom | 2010-12-21 | 1 | -19/+27 |
| | | | | Might still need some logic for detecting the correct from branch. | ||||
* | Make the tagging commands visible in the gitlog aswell | Torgny Nyblom | 2010-12-20 | 1 | -6/+6 |
| | |||||
* | Only fetch revision properties once per revision | Torgny Nyblom | 2010-12-16 | 1 | -1/+6 |
| | |||||
* | Only call startFastImport when needed | Torgny Nyblom | 2010-12-16 | 1 | -1/+1 |
| | |||||
* | Be more clear about what are warnings | Torgny Nyblom | 2010-12-16 | 4 | -22/+22 |
| | |||||
* | Move branch creation/deletion/restting to Repository and write these in | Torgny Nyblom | 2010-12-15 | 3 | -5/+23 |
| | | | | | | commit() Prepare for handling cvs2svn borked tags/branches | ||||
* | Ditch PrefixingRepository in favor of a memmber variable in | Torgny Nyblom | 2010-12-15 | 3 | -282/+181 |
| | | | | | [FastExport]Repository Some minor reordering | ||||
* | Delete before other changes | Torgny Nyblom | 2010-12-13 | 1 | -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 Nyblom | 2010-12-13 | 1 | -4/+2 |
| | |||||
* | Code style | Torgny Nyblom | 2010-12-13 | 1 | -1/+2 |
| | |||||
* | Duh, do not try and extract options before they are parsed. | Torgny Nyblom | 2010-12-12 | 1 | -1/+1 |
| | |||||
* | Add an option to print some stats after a run. | Torgny Nyblom | 2010-12-04 | 4 | -4/+112 |
| | |||||
* | Allow more then one variable to be used on a line. | Torgny Nyblom | 2010-11-30 | 1 | -2/+1 |
| | |||||
* | QList<int> -> QSet<int> | Torgny Nyblom | 2010-11-27 | 1 | -5/+4 |
| | |||||
* | Add an option to parse a list (in a file) of revisions that should be | Torgny Nyblom | 2010-11-26 | 1 | -0/+40 |
| | | | | used. | ||||
* | Merge branch 'master' of gitorious.org:svn2git/svn2git | Torgny Nyblom | 2010-11-14 | 1 | -4/+1 |
|\ | |||||
| * | Fix detecting directory moves | Niko Sams | 2010-11-13 | 1 | -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" warning | Torgny Nyblom | 2010-11-01 | 1 | -1/+1 |
|/ | |||||
* | Fix issue with variables not being defined when reading include files | Torgny Nyblom | 2010-11-01 | 2 | -5/+5 |
| | |||||
* | Print the missing from path when warning about missing source | Torgny Nyblom | 2010-11-01 | 1 | -1/+1 |
| | |||||
* | Fix filename and linenumber for included rulefiles. | Torgny Nyblom | 2010-10-26 | 2 | -124/+117 |
| | |||||
* | Better include path (FreeBSD patch from Uli - http://gitorious.org/~uqs) | Torgny Nyblom | 2010-10-18 | 1 | -2/+2 |
| | |||||
* | Allow files to be matched | Torgny Nyblom | 2010-10-08 | 1 | -2/+0 |
| | |||||
* | Make sure fastImport is started before adding file | Niko Sams | 2010-10-07 | 1 | -0/+1 |
| | |||||
* | Merge branch 'master' of gitorious.org:svn2git/svn2git | Niko Sams | 2010-10-04 | 8 | -53/+141 |
|\ | |||||
| * | Allow more then one rule file to be used in a single run. | Torgny Nyblom | 2010-09-29 | 7 | -40/+108 |
| | | |||||
| * | const++ | Torgny Nyblom | 2010-09-29 | 1 | -2/+2 |
| | | |||||
| * | Die when a rule file contains an invalid regexp | Torgny Nyblom | 2010-09-29 | 1 | -0/+4 |
| | | |||||
| * | Unify debug messages and Match structs | Torgny Nyblom | 2010-09-28 | 4 | -11/+27 |
| | | |||||
* | | support svn commit that converts a link into a file in one commit | Niko Sams | 2010-10-04 | 1 | -4/+10 |
|/ | | | | this happens in kde svn rev 841619 | ||||
* | call startFastImport() in commit() | Niko Sams | 2010-09-24 | 1 | -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() |