[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [jgit-dev] JGit checkout of multiple tags fails with "Could not rename file"
- From: Sascha Vogt <sascha.vogt@xxxxxxxxx>
- Date: Fri, 19 Sep 2014 17:25:53 +0200
- Delivered-to: firstname.lastname@example.org
- User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1
Am 19.09.2014 um 16:57 schrieb Andrey Loskutov:
> I've observed not the same but similar issue during tests on Linux
> NFS mount, where jgit was not (always) cleaning up the opened
> temporary pack file streams, see  for more details.
> I didn't found the root cause however. I suspect that if you would
> add some delay between two checkout calls your issue would disappear,
> because this was what I've observed in debugger.
Thanks for the quick response. Unfortunately that didn't help.
Nevertheless somehow that gave me a pointer.
I was acutally parsing some POMs in the working directory and didn't
close the reader for that.
Sorry for the noise. Closing the reader solves the issue (without having
to add a delay)