Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Handle SVN directory deletes that lead to branch deletes | Raja R Harinath | 2010-07-08 | 1 | -22/+41 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | SVN directory deletes often indicate one or more branch deletions. However, since the deleted directory isn't present in the resulting revision, several of the indicators used by the rule-application mechanism aren't present. This forces us to introduce several useless dummy rules to avoid errors. We now note deletions and use the previous revision to determine several properties, including whether the deleted item is a directory or not, and to enumerate the contents of the directory in recurse mode. We add an additional heuristic for unknown repositories -- i.e., when a rule fired, but it's repository was invalid. We recurse in this case hoping to catch a more specific rule. I believe this is safe: because some other rule must've seen the same directory before, when it or a subdirectory was created, and decided _not_ to create a repository at that point -- so recursing and/or ignoring the contents of the just deleted directory won't corrupt the history, it can only improve it. We use mark :0 to note mark deletions internally, and in the progress logs. (Note that cvs2svn creates wierd commits where a whole tree is copied first, and then subtrees are pruned. In such cases, neither the previous revision nor the current revision have the deleted directory -- we ignore this case as before. There's no information loss since the final contents of the revision are exactly what is desired.) | ||||
* | Don't skip same branch revisions when inferring multiple merge parents. | Raja R Harinath | 2010-07-01 | 1 | -6/+2 |
| | | | | | Experience with the mono tree shows that it isn't too annoying, and there might be some useful history hidden in there. | ||||
* | Infer some copy sources as additional parents | Raja R Harinath | 2010-07-01 | 1 | -45/+63 |
| | | | | | | | | | | | | | | We use a literal meaning of multiple commit parents to allow us to infer some partial repository copying as merges. This helps us 1) track history despite some directory reorganization 2) link subset commits to parents 3) infer some merges which were achieved by overwriting a subtree with contents from another branch This seems to work well enough even with cvs2svn monster commits. The heuristics have been tuned by gut feel to work reasonably well with mono's SVN repository. They can definitely be improved. | ||||
* | Handle same branch copies using createBranch to allow reseating | Raja R Harinath | 2010-07-01 | 1 | -12/+12 |
| | | | | branch tip to an older revision. | ||||
* | Fix svn.replace | Torgny Nyblom | 2010-05-03 | 1 | -5/+5 |
| | |||||
* | Implement the replace node changeset which exists from some repositories ↵ | Ulrich Spörlein | 2010-04-29 | 1 | -5/+23 |
| | | | | namely the FreeBSD svn rep | ||||
* | Split into two rows. | Torgny Nyblom | 2010-04-29 | 1 | -1/+2 |
| | |||||
* | Merge remote branch 'svn2git/master' | Marc Guenther marcguenther@me.com | 2010-04-14 | 1 | -4/+1 |
|\ | |||||
| * | Move slash cleaning to a more generic place | Torgny Nyblom | 2010-04-14 | 1 | -4/+1 |
| | | |||||
* | | Merge remote branch 'svn2git/master' | Marc Guenther marcguenther@me.com | 2010-04-14 | 1 | -5/+3 |
|\ \ | |/ | | | | | | | Conflicts: src/svn.cpp | ||||
| * | Fix logical error in last commit. There was no slash added between | Torgny Nyblom | 2010-04-13 | 1 | -5/+3 |
| | | | | | | | | prefix and path under certain conditions. | ||||
* | | 'prefix' rule didn't allow \1 \2 replacements | Marc Guenther marcguenther@me.com | 2010-04-14 | 1 | -1/+2 |
|/ | |||||
* | Oups (use the correct string) | Torgny Nyblom | 2010-04-12 | 1 | -1/+1 |
| | |||||
* | Fix logical error (deleted paths was ignored) | Torgny Nyblom | 2010-04-12 | 1 | -1/+4 |
| | | | | Improve the ruleparser so that prefix never starts or ends with a '/' | ||||
* | Ditch the Rootdir option and add a prefix one instead (Thiago is always ↵ | Torgny Nyblom | 2010-04-12 | 1 | -11/+6 |
| | | | | correct :)) | ||||
* | Add command line option to print what rules are used on each file. | Torgny Nyblom | 2010-03-25 | 1 | -0/+2 |
| | |||||
* | Add support for a new rule tag: | Torgny Nyblom | 2010-03-15 | 1 | -6/+15 |
| | | | | | | | | | | | | | | | | | rootdir /a/path/ This should be the part of the match that shouldn't be included in the commited path. Ex: match /trunk/kdenetwork/kmail/ rootdir /trunk/kdenetwork/ repository KDE/kdepim branch master end match This would but all matched files/directories under kmail into the repository under the subdir kmail | ||||
* | Change license on files where I am copyright holder to GPLv3. | Thiago Macieira | 2010-03-03 | 1 | -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 switch | Thomas Zander | 2009-10-21 | 1 | -20/+21 |
| | |||||
* | Make passing in a trailing slash not assert. | Thomas Zander | 2009-10-20 | 1 | -1/+4 |
| | |||||
* | Add support for annotated tags | Thiago Macieira | 2009-06-08 | 1 | -5/+23 |
| | |||||
* | Fix the recursing when the sub-path was modified instead of just added | Thiago Macieira | 2009-06-08 | 1 | -1/+3 |
| | |||||
* | Properly interpret Subversion dates as UTC. | Anders Kaseorg | 2009-01-08 | 1 | -1/+1 |
| | | | | | | | | mktime interprets its input in the local timezone. This can be fixed by using timegm instead of mktime. Signed-off-by: Anders Kaseorg <andersk@mit.edu> Signed-off-by: Thiago Macieira <thiago@kde.org> | ||||
* | Read symbolic links correctly. | Anders Kaseorg | 2009-01-08 | 1 | -6/+20 |
| | | | | | | | | ---1257098496-2120511158-1230496052=:2755Symlinks are described in Subversion by a file with propertysvn:special set to “*”, with contents “link <target of symlink>”. We need to strip off the “link ” when exporting to Git. Signed-off-by: Anders Kaseorg <andersk@mit.edu> Signed-off-by: Thiago Macieira <thiago@kde.org> | ||||
* | Add missing calls to svn_stream_close(). | Anders Kaseorg | 2009-01-08 | 1 | -0/+2 |
| | | | | | | | ---1257098496-5312088-1230496020=:2755svn_stream_copy() does not automatically close its streams. (Thatfeature will be added in Subversion 1.6’s svn_stream_copy3().) Signed-off-by: Anders Kaseorg <andersk@mit.edu> Signed-off-by: Thiago Macieira <thiago@kde.org> | ||||
* | General improvements and reload branches automatically when starting ↵ | Thiago Macieira | 2008-08-18 | 1 | -3/+3 |
| | | | | git-fast-import | ||||
* | Do not try to recurse into files when under a "recurse" action | Thiago Macieira | 2008-08-18 | 1 | -0/+3 |
| | |||||
* | Implement the identity map | Thiago Macieira | 2007-12-28 | 1 | -0/+5 |
| | |||||
* | Wait forever. Not very efficient, but works. | Thiago Macieira | 2007-12-28 | 1 | -3/+2 |
| | |||||
* | Fail if writing to the process fails | Thiago Macieira | 2007-12-28 | 1 | -2/+11 |
| | |||||
* | Complement the recurse rule finding (or not finding) | Thiago Macieira | 2007-12-27 | 1 | -1/+3 |
| | |||||
* | Reintroduce the recurse rule. It's useful if you have a catch-all ignore rule. | Thiago Macieira | 2007-12-27 | 1 | -6/+23 |
| | |||||
* | Allow one commit to multiple branches of the same repository. | Thiago Macieira | 2007-12-26 | 1 | -2/+2 |
| | |||||
* | Add missing return | Thiago Macieira | 2007-12-26 | 1 | -0/+2 |
| | |||||
* | Avoid ending slashes and mid double-slashes | Thiago Macieira | 2007-12-26 | 1 | -6/+5 |
| | |||||
* | More information when saying you can't continue | Thiago Macieira | 2007-12-26 | 1 | -1/+2 |
| | |||||
* | Don't recurse into a directory if it's a perfect branch | Thiago Macieira | 2007-12-26 | 1 | -0/+1 |
| | |||||
* | Skip entries in recursion if said entries are in the changelist already | Thiago Macieira | 2007-12-26 | 1 | -6/+15 |
| | |||||
* | Remove the recurse rule | Thiago Macieira | 2007-12-24 | 1 | -23/+10 |
| | |||||
* | Beautify the rule debug output | Thiago Macieira | 2007-12-24 | 1 | -4/+4 |
| | |||||
* | Add auto-recurse code | Thiago Macieira | 2007-12-24 | 1 | -6/+14 |
| | |||||
* | s,/,_, in the output filenames in dry-run mode | Thiago Macieira | 2007-12-24 | 1 | -2/+2 |
| | |||||
* | Don't request recurse rules when asking where something came from | Thiago Macieira | 2007-12-24 | 1 | -2/+9 |
| | |||||
* | Refactor and add the ability to recurse into certain subdirs | Thiago Macieira | 2007-12-24 | 1 | -138/+252 |
| | |||||
* | Ignore paths being deleted when we don't know anything about them | Thiago Macieira | 2007-12-24 | 1 | -1/+3 |
| | |||||
* | more information at the end of the revision export | Thiago Macieira | 2007-12-24 | 1 | -6/+6 |
| | |||||
* | use printf here | Thiago Macieira | 2007-12-24 | 1 | -1/+2 |
| | |||||
* | remove the source branch in the rules | Thiago Macieira | 2007-12-24 | 1 | -1/+1 |
| | |||||
* | Don't give fast-import paths starting with a slash | Thiago Macieira | 2007-12-24 | 1 | -1/+5 |
| | |||||
* | Add support for branch creation on-the-fly | Thiago Macieira | 2007-12-24 | 1 | -23/+81 |
| |