Re[4]: [PATCH 4/5] git-svn: fix bottleneck in stash_placeholder_list()

2013-05-28 Thread Ilya Basin
IB * I think git-svn doesn't handle the case, when a tag is deleted.
IB   I expected it to rename the ref from tags/tagname to
IB   tags/tagname@rev, but that doesn't happen.
IB   If a tag is replaced, there's no way to tell what was the previous
IB   state of that tag: git-svn just rewrites the ref.

OK, I figured out that git-svn creates a merge commit having one of
its parents the previous state of the tag and another parent the state
of the new copy src folder.

--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re[4]: [PATCH 4/5] git-svn: fix bottleneck in stash_placeholder_list()

2013-05-06 Thread Ilya Basin
 The last error I encountered is:
 r7009 = 39805bb078983e34f2fc8d2c8c02d695d00d11c0 (refs/remotes/DMC4_Basic)
 Too many open files: Can't open file 
 '/home/il/builds/sicap/gitsvn/prd_dmc4.svn/db/revs/0/786': Too many open 
 files at 
 /.snapshots/persist/builds/git/git-git/perl/blib/lib/Git/SVN/Ra.pm line 
 282.
 
 I think It's unrelated to empty dirs.

EW Can you get an lsof on the git-svn process right before this?
IB /.snapshots/persist/builds/sicap/gitsvn/aaa/.git/A4O_OTQxWc
IB /.snapshots/persist/builds/sicap/gitsvn/aaa/.git/LfpcENJduN
IB /.snapshots/persist/builds/sicap/gitsvn/aaa/.git/Dkk7pN4Mpz
IB etc.

EW What's your open files limit?
IB 1024

IB Why no call to close() from temp_release() in Git.pm?

Found, fixed. It was related to empty dirs.



-- 

--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html