aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Track commits per-branchRaja R Harinath2010-06-202-13/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, all the SVN commits were tracked in a linear array, and we searched for nearest commits in that array. However, SVN history is not linear, and the 'next smallest commit' search was picking the wrong commit. I've moved the commit array into the 'Branch' structure. As a minor subtlety, the branch creation revision is also noted in the 'commitMarks' structure, by copying the commit mark of the branch point. We need this to ensure that the commits array is strictly non-decreasing.
* | | | Improve determination of branch pointRaja R Harinath2010-06-191-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the logic of commit 209e6ce4ddf114494d6d72455690af819dcbf18c qLowerBound doesn't have the desired semantics -- it returns the position of the first item which is not smaller than the search key. The intended semantics seems to be to find the given key, or the next smallest one. This is almost given by qUpperBound -- it returns an element one past the desired result. I've also added some additional debugging code to help debug this.
* | | | Store marks to file so that the ProcessCache system worksRaja R Harinath2010-06-191-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Branches and marks are now long-lived. The marks have to survive even if the fast-import process goes away. So, use the --import- and --export-marks feature of fast-import to persist marks. These marks are only meant for the duration of this 'svn-all-fast-export' and don't confer any new incremental behaviour. You'll need a mark to SVN commit map for that, at least.
* | | | Fix typoRaja R Harinath2010-06-191-1/+1
| | | |
* | | | Initialize lastmarkRaja R Harinath2010-06-191-1/+1
| |/ / |/| | | | | | | | Ensure that marks start at 1, now that they're visible in the logs
* | | Add proper APR_INCLUDE for openSUSEJohannes Obermayr2010-06-191-1/+1
|/ /
* | Try and branch from the correct svn revision rather then the last one.Torgny Nyblom2010-05-042-9/+24
| |
* | Fix svn.replaceTorgny Nyblom2010-05-031-5/+5
| |
* | Implement the replace node changeset which exists from some repositories ↵Ulrich Spörlein2010-04-291-5/+23
| | | | | | | | namely the FreeBSD svn rep
* | Split into two rows.Torgny Nyblom2010-04-291-1/+2
| |
* | Print more info on what is exported whereUlrich Spörlein2010-04-291-3/+3
|/
* Merge remote branch 'svn2git/master'Marc Guenther marcguenther@me.com2010-04-142-5/+5
|\
| * Move slash cleaning to a more generic placeTorgny Nyblom2010-04-142-5/+5
| |
* | Merge remote branch 'svn2git/master'Marc Guenther marcguenther@me.com2010-04-142-7/+5
|\ \ | |/ | | | | | | Conflicts: src/svn.cpp
| * Fix logical error in last commit. There was no slash added betweenTorgny Nyblom2010-04-132-7/+5
| | | | | | | | prefix and path under certain conditions.
* | 'prefix' rule didn't allow \1 \2 replacementsMarc Guenther marcguenther@me.com2010-04-141-1/+2
|/
* Oups (use the correct string)Torgny Nyblom2010-04-121-1/+1
|
* Fix logical error (deleted paths was ignored)Torgny Nyblom2010-04-122-2/+7
| | | | 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 Nyblom2010-04-123-15/+12
| | | | correct :))
* 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-252-0/+3
|
* Add commandline option for when to flush the commit queue.Torgny Nyblom2010-03-252-1/+2
|
* Add support for a new rule tag:Torgny Nyblom2010-03-153-6/+20
| | | | | | | | | | | | | | | | | 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
* Revert half of last commit, only one regexp was duplicate.Torgny Nyblom2010-03-141-2/+4
|
* Remove duplicate regexpTorgny Nyblom2010-03-141-7/+4
|
* Update with vng version; Fix command line parser reporting wrong optionsThomas Zander2010-03-061-3/+5
|
* Change license on files where I am copyright holder to GPLv3.Thiago Macieira2010-03-037-7/+7
| | | | | 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-214-43/+43
|
* Replace options with the one from vng and use its options for better usabilityThomas Zander2009-10-217-184/+559
|
* Make passing in a trailing slash not assert.Thomas Zander2009-10-201-1/+4
|
* Add commented out way to compile a dry-run versionThomas Zander2009-10-201-1/+2
|
* Create repos as we go.Thomas Zander2009-10-201-0/+12
| | | | | Instead of failing with an unhelpful error in fast-import we create the repositories we require to import into if they don't exist.
* 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-086-8/+121
|
* Fix the recursing when the sub-path was modified instead of just addedThiago Macieira2009-06-081-1/+3
|
* Add a warning about tag processing in the standardlayout fileThiago Macieira2009-02-201-0/+11
|
* Fix the recurse rules sample file: the repository name comes after the ↵Thiago Macieira2009-02-201-2/+6
| | | | branch name, like in KDE
* Add a set of sample rules files.Thiago Macieira2009-02-206-0/+196
| | | | All of these files are untested. I just wrote from memory.
* Support Qt 4.3 tooThiago Macieira2009-02-201-0/+4
|
* Properly interpret Subversion dates as UTC.Anders Kaseorg2009-01-081-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>
* Add a --no-metadata option to suppress the svn info in commit messages.Anders Kaseorg2009-01-082-2/+4
| | | | | Signed-off-by: Anders Kaseorg <andersk@mit.edu> Signed-off-by: Thiago Macieira <thiago@kde.org>
* Read symbolic links correctly.Anders Kaseorg2009-01-081-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 Kaseorg2009-01-081-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>
* Fix initialization of Repository::lastmark when creating a new transaction.Anders Kaseorg2009-01-081-1/+1
| | | | | Signed-off-by: Anders Kaseorg <andersk@mit.edu> Signed-off-by: Thiago Macieira <thiago@kde.org>
* Fix a bug when committing to two branches of the same repository in the same ↵Thiago Macieira2008-08-262-5/+8
| | | | SVN revision
* Store the modified files in git-fast-import format already.Thiago Macieira2008-08-242-20/+14
| | | | I don't know what went wrong, but importing KDE revision 296047 there was a mixup with the marks. So instead avoid the trouble and store the thing in in cooked format already
* Add a process cache to keep the number of processes under 100Thiago Macieira2008-08-232-0/+36
|
* General improvements and reload branches automatically when starting ↵Thiago Macieira2008-08-183-14/+21
| | | | git-fast-import
* Enhance the saving of repository data by adding a "checkpoint" command at ↵Thiago Macieira2008-08-181-1/+7
| | | | | | the end. Though I have the impression that this doesn't do much
* Do not try to recurse into files when under a "recurse" actionThiago Macieira2008-08-181-0/+3
|