Jason Wong wrote on Fri, Mar 30, 2012 at 11:39:02 -0700:
> On Wed, Mar 28, 2012 at 12:00 PM, Daniel Shahaf <danie...@elego.de> wrote:
> > Jason Wong wrote on Wed, Mar 28, 2012 at 11:49:20 -0700:
> >> dump-noderev.pl /repo /
> >> ---------------------
> >> id: 0.0.r62104/28771
> >> type: dir
> >> pred: 0.0.r62103/28680
> >> count: 62071
> >> text: 62104 27520 1238 1238 ea635421e867454f9f7bc503c8160a2c
> >> cpath: /
> >> copyroot: 0 /
> >> minfo-cnt: 25707
> >> ---------------------
> >>
> >> dump-noderev.pl /mirror2 /
> >> -----------------------
> >> id: 0.0.r62104/6122
> >> type: dir
> >> pred: 0.0.r62103/6039
> >> count: 62104
> >> text: 62104 4874 1235 1235 1f315ed2437ba5d70dba2587d9ef2d5a
> >> cpath: /
> >> copyroot: 0 /
> >> minfo-cnt: 25707
> >> -----------------------
> >>
> >> Is this in line with what you expected?
> >
> > It's in line with my expectations, insofar as on the mirror the 'count'
> > is correct.
> >
> > It also indicates that you weren't bitten by the minfo-cnt part of this
> > bug.  As you know from the dev@ thread, Philip identified that part and
> > fixed it too -- after my above email.
> >
> > Thanks again for your help in chasing down this bug.  It was backported
> > today towards 1.7.5 too.
> >
> > Cheers,
> >
> > Daniel
> 
> Hi Daniel.
> 
> No problem. I am glad the issues are fixed. Thank you for all your help
> and patience with my slow replies. It has been a busy couple of months
> for me in trying find the time to do these tests.
> 

Welcome.

> So for correcting the "count" information in our live repository, I
> should run svnsync on it at some point?

You already did, as you have a mirror.  (Maybe you created it via
dump/load.)  Now you just need to swap the mirror for the original
repository:

- stop commits
- svnsync sync URL/to/mirror2 URL/to/repo
  (or svnadmin dump -r (YOUNGEST ON MIRROR2):HEAD --deltas --incremental repo \
      | svnadmin load mirror2)
- rename repo repo.i4129-victim && rename mirror2 repo
- enable commits

> Is there anything I need to do
> after running that command in order to have it not link to the original?

You can optionally remove the svn:sync-* revprops from r0.

> 
> Thanks.
> 
> 
> Jason Wong

Reply via email to