[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: 1.7.x - merge now accesses all files in WC?

From: Daniel Becroft <djcbecroft_at_gmail.com>
Date: Mon, 6 Dec 2010 07:18:56 +1000

On Fri, Dec 3, 2010 at 9:22 AM, Peter Samuelson <peter_at_p12n.org> wrote:

>
> [Daniel Becroft]
> > I've just managed to build/install trunk on my ubuntu box at home (first
> > application I've ever compiled on it - yey!).
> >
> > What debugging tools would you recommend to investigate this further?
> I've
> > seen output posted that lists function names, and time spent on each.
>
> The obvious start is 'strace', as in 'strace svn merge ...'. It spits
> out every system call. There's a lot of noise up front as it's loading
> shared libraries and such, but it should still be obvious what we're
> doing when crawling the tree (stat / lstat, open, etc.).<http://p12n.org/>

Thanks. I've run that, and all the calls are lstat(). There are 16 for each
file (or at least, those not affected by the merge). I've copied on of the
calls below (all 16 of these are identical).

lstat("....../dev/workingcopy/A/beta.txt", {st_dev=makedev(8, 1),
st_ino=23855167, st_mode=S_IFREG|0644, st_nlink=1, st_uid=1000, st_gid=1000,
st_blksize=4096, st_blocks=8, st_size=5, st_atime=2010/12/06-07:10:42,
st_mtime=2010/12/06-07:10:42, st_ctime=2010/12/06-07:10:42}) = 0

It does appear that it's a known issue though. I'll keep investigating to
try and understand why it's getting called at all. Thanks for your help.

Cheers,
Daniel B.
Received on 2010-12-05 22:19:55 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.