What's the process to svnsync a larger repository

2012-03-02 Thread Geoff Hoffman
I'm learning some gotchas with svnsync this week. As per my typical method of learning I try 3 wrong ways before finally realizing the right way to do most things. We have about a 1GB svn repo on Ubuntu at -r 3738, and I'm trying to get it mirrored on Win 7 running VisualSVN. I created the mirror

Re: What's the process to svnsync a larger repository

2012-03-02 Thread Mark Phippard
On Fri, Mar 2, 2012 at 10:41 AM, Geoff Hoffman wrote: > I'm learning some gotchas with svnsync this week. As per my typical method > of learning I try 3 wrong ways before finally realizing the right way to do > most things. > > We have about a 1GB svn repo on Ubuntu at -r 3738, and I'm trying to g

Re: What's the process to svnsync a larger repository

2012-03-02 Thread Geoff Hoffman
Yeah I was just reading this: "By default, the aforementioned basic requirements of a mirror are that it > allows revision property modifications and that it contains no version > history. However, as of Subversion 1.7, you may now optionally disable the > verification that the target repository i

Re: What's the process to svnsync a larger repository

2012-03-02 Thread Philip Martin
Geoff Hoffman writes: > So, my question is, before I whack a perfectly fine "almost mirrored" > repository, can I svn propset -r 0 all the stuff needed by svnsync > manually, to start syncing at -r 3738? Yes. You need --revprop with the propset. -- Philip

Re: What's the process to svnsync a larger repository

2012-03-02 Thread Geoff Hoffman
Sweet - if that works it'll save a lot of time. Can someone paste an svn proplist --revprop -r 0 from a mirror repo so I can see all the stuff to set? On Fri, Mar 2, 2012 at 8:47 AM, Philip Martin wrote: > Geoff Hoffman writes: > > > So, my question is, before I whack a perfectly fine "almost m

Re: What's the process to svnsync a larger repository

2012-03-02 Thread Mark Phippard
On Fri, Mar 2, 2012 at 10:47 AM, Geoff Hoffman wrote: > Yeah I was just reading this: > > "By default, the aforementioned basic requirements of a mirror are that it >> allows revision property modifications and that it contains no version >> history. However, as of Subversion 1.7, you may now opti

Re: What's the process to svnsync a larger repository

2012-03-02 Thread Geoff Hoffman
On Fri, Mar 2, 2012 at 8:47 AM, Philip Martin wrote: > Geoff Hoffman writes: > > > So, my question is, before I whack a perfectly fine "almost mirrored" > > repository, can I svn propset -r 0 all the stuff needed by svnsync > > manually, to start syncing at -r 3738? > > Yes. You need --revprop w

Re: What's the process to svnsync a larger repository

2012-03-02 Thread Les Mikesell
On Fri, Mar 2, 2012 at 9:41 AM, Geoff Hoffman wrote: > I'm learning some gotchas with svnsync this week. As per my typical method > of learning I try 3 wrong ways before finally realizing the right way to do > most things. > > We have about a 1GB svn repo on Ubuntu at -r 3738, and I'm trying to ge

Re: What's the process to svnsync a larger repository

2012-03-02 Thread Geoff Hoffman
On Fri, Mar 2, 2012 at 9:13 AM, Les Mikesell wrote: > On Fri, Mar 2, 2012 at 9:41 AM, Geoff Hoffman > wrote: > > I'm learning some gotchas with svnsync this week. As per my typical > method > > of learning I try 3 wrong ways before finally realizing the right way to > do > > most things. > > > >

Re: What's the process to svnsync a larger repository

2012-03-02 Thread Les Mikesell
On Fri, Mar 2, 2012 at 10:20 AM, Geoff Hoffman wrote: > >> > I created the mirror repository fine, ran svnsync init and svnsync sync >> > on >> > it, then as it started going from -r 1, -r 2, -r 3..., I realized it >> > would >> > take a week or more to fetch all nearly 4K commits. >> >> Slow is o

Re: What's the process to svnsync a larger repository

2012-03-02 Thread Geoff Hoffman
On Fri, Mar 2, 2012 at 9:25 AM, Les Mikesell wrote: > On Fri, Mar 2, 2012 at 10:20 AM, Geoff Hoffman > wrote: > > > >> > I created the mirror repository fine, ran svnsync init and svnsync > sync > >> > on > >> > it, then as it started going from -r 1, -r 2, -r 3..., I realized it > >> > would >

Re: What's the process to svnsync a larger repository

2012-03-02 Thread Les Mikesell
On Fri, Mar 2, 2012 at 10:33 AM, Geoff Hoffman wrote: > >> But you should be able to copy a whole repo, maintaining state as long >> as the target is reasonably similar.  I see you have gotten it to work >> another way, but you should have been able to do the initial catch-up >> sync on something