[Kde-scm-interest] [Bug 242949] svn2git needs some adaptions

Johannes Obermayr johannesobermayr at gmx.de
Sun Jun 27 15:13:19 CEST 2010


   Description From  Johannes Obermayr   2010-06-27 14:08:45   (-) [reply]

Version:           unspecified (using Devel) 
OS:                Linux

To keep complete history svn2git must offer pushing commits in "branch
master/...". That means "master" is the "branch" and "..." is the directory
where the commits have to put. This should be solvable with a keyword like
"dir"

It happens when applying commits from kdeplayground-games, playground/games and
kdereview.

For example: http://gitorious.org/jobermayr/kdegames

Rule: http://pastie.org/1019984



To use regexp for creating tags svn2git must recognize a keyword like "stop".
That means if I set a stop in a within "match ... end match" it should not go
down and search for other suitable matches.

Example:

# specific rule
match /tags/KDE/3.4.3/kdegames/
  repository KDE/kdegames
  branch refs/tags/v3.4.3
  min revision 467472
  annotated true
end match

# regexp
match /tags/KDE/(\d+).(\d+).(\d+)/kdegames/
  repository KDE/kdegames
  branch refs/tags/v\1.\2.\3
  annotated true
end match

What does svn2git ATM with commits applied to this section before commit
467472?
It looks in specific rule, thinks ah, the rule does not fit and uses the
general rule. That is false. It should "stop" when the specific rule does not
fit.

But you can see in above rule how you can solve it: lines 544 to 1253

Reproducible: Always




If such features won't become implemented we cannot keep complete history.

------- Comment #1 From Tom Albers 2010-06-27 15:04:27 (-) [reply] -------

Hi Johannes. Unfortunately this is not the right place to request this.
Sysadmins maintain the infrastructure, but we can not implement this. The best
thing you can do is ask on kde-scm-interest. I'm sure they can help better than
we can.



More information about the Kde-scm-interest mailing list