Comment 3 for bug 235776

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 235776] Re: infinite loop in CachingLogWalker.fetch_revisions

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mirko Friedenhagen wrote:
> Propably this is what I am seeing as well when trying to catch up
> with the Hudson-Repo:
>
> bzr pull hangs forever in transport.py:607 (def next). In the
> log-file I see entries like:
>
> 4.651 opening SVN RA connection to
> 'https://<email address hidden>/svn/hudson/trunk/hudson' 6.087
> svn get-repos-root 6.676 svn get-uuid 6.689 svn get-latest-revnum
> 7.243 svn get-latest-revnum 7.798 svn log 9634:9770 None (limit:
> 0) 8.354 get_log2: None [repeated until I hit Ctrl-C ...] 464.766
> svn log 9634:9770 None (limit: 0) 465.321 get_log2: None
>
> The second line is the result of muttering a bit more :-): ===
> modified file 'transport.py' --- transport.py 2008-06-02
> 20:52:24 +0000 +++ transport.py 2008-06-02 22:17:29 +0000 @@
> -429,10 +429,12 @@ paths = ["/"] self.mutter('svn log %r:%r %r
> (limit: %r)' % (from_revnum, to_revnum, paths, limit)) if
> hasattr(svn.ra, 'get_log2'): - return
> svn.ra.get_log2(self._ra, paths, + result =
> svn.ra.get_log2(self._ra, paths, from_revnum, to_revnum, limit,
> discover_changed_paths, strict_node_history, False, revprops, rcvr,
> pool) + self.mutter("get_log2: %r" % result) +
> return result
>
> class LogEntry(object): def __init__(self, changed_paths, rev,
> author, date, message):
>
>
> Software-Versions in use: svn-trunk revision 31557 bzr-svn stable
> revno 1196 bzr 1.6b1 (tried 1.5 as well, no difference)
svn_get_log2() isn't supposed to return anything - it will call the
supplied callback function 'rcvr' with information so you'd probably
want to add a mutter there.

Cheers,

Jelmer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBSER+/Qy0JeEGD2blAQI4WAP/Xscra8uXp/IFUB6NhBmNXY6n4OQwEqQf
i/FUIAPJTuauMx/bMaz7adPwPiIBmQCZOI5Ua+sCUrZIrMLucNmLL+t1Q+nO7rV0
Qr1D4PBT8yJ3936FBgF8qIcC/qVg3Ur/q2cCWpw8T05XXPQHAqY7IMl//8H10aor
lPYPY7Yf9SA=
=eHZJ
-----END PGP SIGNATURE-----