Re: svn commit: r1125455 - in /subversion/trunk/subversion: libsvn_wc/upgrade.c libsvn_wc/wc.h libsvn_wc/wc_db_pristine.c tests/cmdline/svntest/wc.py
Greg Stein wrote:
> On May 23, 2011 8:10 AM, "Julian Foad" <julian.foad_at_wandisco.com> wrote:
> > > > + /* The old pristine file name was 40 hex digits. */
> > > > + if (finfo->filetype == APR_REG && strlen(path) == 40)
> > >
> > > Because you have abspath values, this strlen() condition can never be
> > ... I added this line, and aargh, you're right. I only tested the
> > negative condition: after introducing this check, it no longer
> > doubled-renamed the already-renamed files. But didn't test that it
> > still works.
> > Thanks for the _abspath and #define suggestions. Will do.
> Thought it was something like that. The "innocuous change before commit" ...
> that isn't :-)
In r1126553 I have fixed the bug and the _abspath and #define
suggestions and also added a simple test for this upgrade, which I
should have done in the first place.
Received on 2011-05-23 17:59:53 CEST
This is an archived mail posted to the Subversion Dev