Re: git-svn performance

2014-10-20 Thread Jakob Stoklund Olesen
On Oct 19, 2014, at 18:16, Eric Wong normalper...@yhbt.net wrote: Jakob Stoklund Olesen stokl...@2pi.dk wrote: If cached_mergeinfo is using too much memory, you can probably drop that cache entirely. IIRC, it didn't give that much of a speed up. I am surprised that it is using a lot

Re: git svn's performance issue and strange pauses, and other thing

2014-10-19 Thread Jakob Stoklund Olesen
On Oct 18, 2014, at 21:12, Eric Wong normalper...@yhbt.net wrote: I am somwhat worry about the dramatic difference between the two .svn/.caches - check_cherry_pick.yaml is 225MB in one and 73MB in the other, and also _rev_list.yaml is opposite - 24MB vs 73MB. How do I reconcile that?

Re: git-svn performance

2014-10-19 Thread Jakob Stoklund Olesen
On Oct 18, 2014, at 19:33, Eric Wong normalper...@yhbt.net wrote: Eric Wong normalper...@yhbt.net wrote: This reduces hash lookups for looking up cache data and will simplify tying data to disk in the next commit. I considered the following, but GDBM might not be readily available on

Re: git svn's performance issue and strange pauses, and other thing

2014-09-19 Thread Jakob Stoklund Olesen
On Sep 19, 2014, at 1:25, Eric Wong normalper...@yhbt.net wrote: Hin-Tak Leung ht...@users.sourceforge.net wrote: - I know I can probably just read the source, but I'd like to know why .git/svn/.caches is even larger than .git/objects (which supposedly contains everything that's of

Re: [PATCH 2/2] git-svn: only look at the root path for svn:mergeinfo

2014-04-27 Thread Jakob Stoklund Olesen
On Apr 22, 2014, at 11:54 AM, Eric Wong normalper...@yhbt.net wrote: Jakob Stoklund Olesen stokl...@2pi.dk wrote: Subversion can put mergeinfo on any sub-directory to track cherry-picks. Since cherry-picks are not represented explicitly in git, git-svn should just ignore it. Hi, was git

[PATCH 1/2] git-svn: only look at the new parts of svn:mergeinfo

2014-04-17 Thread Jakob Stoklund Olesen
branches whose ranges haven't changed, and remove a common prefix of ranges from other merged branches. This speeds up git svn fetch by several orders of magnitude on a large repository where thousands of feature branches have been merged. Signed-off-by: Jakob Stoklund Olesen stokl...@2pi.dk --- perl

[PATCH 2/2] git-svn: only look at the root path for svn:mergeinfo

2014-04-17 Thread Jakob Stoklund Olesen
Subversion can put mergeinfo on any sub-directory to track cherry-picks. Since cherry-picks are not represented explicitly in git, git-svn should just ignore it. Signed-off-by: Jakob Stoklund Olesen stokl...@2pi.dk --- perl/Git/SVN.pm | 29 + 1 file changed, 13