Re: [PATCH 7/7] svn-fe: Use the --report-fd feature
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Oct 12, 2010, 23:36 UTC
- Message-ID
- <20101012233612.GI15587@burratino>
- In-Reply-To
- <AANLkTikoSedLFD7pnMvzWYLxCTURhc=1h=73s4uj+fcM@mail.gmail.com>
Sverre Rabbelier wrote:
> On Wed, Oct 13, 2010 at 01:03, Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 6 quoted lines
>> The caller has to take care of backflow of data. Even if the >> "cat" command were never used, at least 3>/dev/null would be >> necessary to avoid fast-import waiting forever for the frontend >> to read from it. > > Why is that? If we disable the auto-printing of sha's
Right, if we disable the auto-printing of sha's then that aspect goes away.
>> One way to work around this would be for svn-fe to launch fast-import >> itself. > > What would the pipeline look like then? In particular for git-remote-svn?
Probably something like:
svnrdump dump uri -r <lower>:<upper> | svn-fe --fastimport='svn-filter-root ...'
Doesn't the transport helper take care of launching fast-import itself?