Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Prefix rules should keep spaces if they are part of the rule | Manuel Naranjo | 2012-08-07 | 1 | -1/+1 |
| | | | | | | | | This patch fixes a small bug with prefix rules where a prefix like: prefix I\ Am\ A\ Very\ Ugly\ Path/ will not match as the match was made against \S and not .* making the spaces not part of the match. Signed-off-by: Manuel Naranjo <manuel@evolution.com> | ||||
* | Properly expand multiple variables in the same line. | Modestas Vainius | 2011-05-28 | 1 | -1/+1 |
| | | | | | | | When were two or more different variables in the same line, ruleparser used to expand the first one and replace *all* variables (since all variables are matches of variableLine regexp) with that expanded value. The corrent way is to replace that exact variable reference with the expanded value. | ||||
* | Merge commit 'refs/merge-requests/12' of git://gitorious.org/svn2git/svn2git ↵ | Torgny Nyblom | 2011-05-08 | 1 | -0/+60 |
|\ | | | | | | | | | | | | | into merge-requests/12 Conflicts: src/ruleparser.cpp | ||||
| * | Support substitutions for repository/branch names. | Modestas Vainius | 2011-04-24 | 1 | -0/+60 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for 's///' style substitutions for the repository/branch names in the match rulesets. Useful when e.g. eliminating characters not supported in git branch names. Syntax: match /... repository some_repo substitute repository s/pattern/replacement/ branch some_branch substitute branch s/pattern/replacement/ end match | ||||
* | | Support 'description' field in the create repository rule. | Modestas Vainius | 2011-04-24 | 1 | -0/+4 |
|/ | | | | Its value is used to fill in repository/description file used by gitweb. | ||||
* | 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. | ||||
* | Be more clear about what are warnings | Torgny Nyblom | 2010-12-16 | 1 | -2/+2 |
| | |||||
* | Add an option to print some stats after a run. | Torgny Nyblom | 2010-12-04 | 1 | -0/+88 |
| | |||||
* | Allow more then one variable to be used on a line. | Torgny Nyblom | 2010-11-30 | 1 | -2/+1 |
| | |||||
* | Fix issue with variables not being defined when reading include files | Torgny Nyblom | 2010-11-01 | 1 | -5/+3 |
| | |||||
* | Fix filename and linenumber for included rulefiles. | Torgny Nyblom | 2010-10-26 | 1 | -123/+115 |
| | |||||
* | Allow files to be matched | Torgny Nyblom | 2010-10-08 | 1 | -2/+0 |
| | |||||
* | Allow more then one rule file to be used in a single run. | Torgny Nyblom | 2010-09-29 | 1 | -0/+35 |
| | |||||
* | 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 | 1 | -1/+3 |
| | |||||
* | Add posibility to use variables in rule files | Torgny Nyblom | 2010-09-10 | 1 | -0/+15 |
| | | | | | "declare var=value" now "${var}" in any line will be replaced by "value" | ||||
* | Make it possible to use "include file" for including the rules in "file". | Torgny Nyblom | 2010-09-09 | 1 | -15/+42 |
| | |||||
* | Merge branch 'master' of git://gitorious.org/svn2git/svn2git | Raja R Harinath | 2010-08-24 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | error message and exit when rules file cannot be read | Marc Guenther | 2010-04-16 | 1 | -1/+1 |
| | | |||||
* | | Provide a way to merge repositories | Raja R Harinath | 2010-07-22 | 1 | -1/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/". | ||||
* | | clear out a local that is re-used | Raja R Harinath | 2010-07-22 | 1 | -0/+5 |
|/ | |||||
* | Fix logical error in last commit. There was no slash added between | Torgny Nyblom | 2010-04-13 | 1 | -2/+2 |
| | | | | prefix and path under certain conditions. | ||||
* | Fix logical error (deleted paths was ignored) | Torgny Nyblom | 2010-04-12 | 1 | -1/+3 |
| | | | | 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 | -3/+5 |
| | | | | correct :)) | ||||
* | Add support for a new rule tag: | Torgny Nyblom | 2010-03-15 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | 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 Nyblom | 2010-03-14 | 1 | -2/+4 |
| | |||||
* | Remove duplicate regexp | Torgny Nyblom | 2010-03-14 | 1 | -7/+4 |
| | |||||
* | 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. | ||||
* | Add support for annotated tags | Thiago Macieira | 2009-06-08 | 1 | -0/+4 |
| | |||||
* | Reintroduce the recurse rule. It's useful if you have a catch-all ignore rule. | Thiago Macieira | 2007-12-27 | 1 | -0/+2 |
| | |||||
* | Remove the recurse rule | Thiago Macieira | 2007-12-24 | 1 | -2/+0 |
| | |||||
* | This should be a space | Thiago Macieira | 2007-12-24 | 1 | -1/+1 |
| | |||||
* | Beautify the rule debug output | Thiago Macieira | 2007-12-24 | 1 | -0/+9 |
| | |||||
* | Refactor and add the ability to recurse into certain subdirs | Thiago Macieira | 2007-12-24 | 1 | -0/+14 |
| | |||||
* | remove the source branch in the rules | Thiago Macieira | 2007-12-24 | 1 | -2/+1 |
| | |||||
* | Support for pathless rules | Thiago Macieira | 2007-12-24 | 1 | -4/+0 |
| | |||||
* | Add some more line number information | Thiago Macieira | 2007-12-24 | 1 | -0/+2 |
| | |||||
* | add some more information to the output | Thiago Macieira | 2007-12-24 | 1 | -1/+4 |
| | |||||
* | Make it a fatal error to have a malformed line in the rules file | Thiago Macieira | 2007-12-24 | 1 | -2/+1 |
| | |||||
* | Add support for min/max revision ranges | Thiago Macieira | 2007-12-24 | 1 | -0/+8 |
| | |||||
* | Allow repository names with dashes too | Thiago Macieira | 2007-12-24 | 1 | -2/+2 |
| | |||||
* | Fix rule parsing again: cap(0) is the entire match | Thiago Macieira | 2007-12-23 | 1 | -18/+18 |
| | |||||
* | Parse rules correctly | Thiago Macieira | 2007-12-23 | 1 | -3/+8 |
| | |||||
* | Add missing function | Thiago Macieira | 2007-12-23 | 1 | -0/+4 |
| | |||||
* | Initial version | Thiago Macieira | 2007-12-23 | 1 | -0/+111 |