Re: git-svn troubles with calendarserver SVN repo

2013-12-02 Thread Ramkumar Ramachandra
Matěj Cepl wrote:
 I am trying to git-svn clone
 https://svn.calendarserver.org/repository/calendarserver/CalendarServer/
 and I cannot say I am much succesful.

Consider using (the somewhat experimental) git-remote-testsvn and the
underlying contrib/svn-fe/. For starters, try:

  $ git clone 
testsvn::https://svn.calendarserver.org/repository/calendarserver/CalendarServer/

You might need to hack a bit to get it working properly, but you'll
find that it's much faster than git-svn in the long-run.
--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: git-svn troubles with calendarserver SVN repo

2013-12-01 Thread Matěj Cepl
On 30/11/13 09:54, Jon Seymour wrote:
 I have seen this behaviour, though never determined the root cause
 .Probably the simplest thing you can do without access to the server
 is to put your git svn fetch into a bash while loop, like so:
 
 while ! git svn fetch; do :; done;

Of course, I did this, but still I wonder how much is the resulting git
repository http://luther.ceplovi.cz/git/CalendarServer.git/ faithful
representation of the original SVN one http://trac.calendarserver.org/.
Would not be something missing?

Best,

Matěj

-- 
http://www.ceplovi.cz/matej/, Jabber: mc...@ceplovi.cz
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC

They that can give up essential liberty to obtain a little
temporary safety deserve neither liberty nor safety.
-- Benjamin Franklin, Historical Review
   of Pennsylvania, 1759.



signature.asc
Description: OpenPGP digital signature


Re: git-svn troubles with calendarserver SVN repo

2013-12-01 Thread Jon Seymour
My experience is that the fetch will be atomic - it either fetches an
SVN commit or it doesn't.

Failure during dcommit is more painful and I usually find it is
necessary to manually use a git rebase to rebase the commits that
didn't make it to SVN on top of the commits that did.

jon.

On Mon, Dec 2, 2013 at 5:03 PM, Matěj Cepl mc...@redhat.com wrote:
 On 30/11/13 09:54, Jon Seymour wrote:
 I have seen this behaviour, though never determined the root cause
 .Probably the simplest thing you can do without access to the server
 is to put your git svn fetch into a bash while loop, like so:

 while ! git svn fetch; do :; done;

 Of course, I did this, but still I wonder how much is the resulting git
 repository http://luther.ceplovi.cz/git/CalendarServer.git/ faithful
 representation of the original SVN one http://trac.calendarserver.org/.
 Would not be something missing?

 Best,

 Matěj

 --
 http://www.ceplovi.cz/matej/, Jabber: mc...@ceplovi.cz
 GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC

 They that can give up essential liberty to obtain a little
 temporary safety deserve neither liberty nor safety.
 -- Benjamin Franklin, Historical Review
of Pennsylvania, 1759.

--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: git-svn troubles with calendarserver SVN repo

2013-11-30 Thread Jon Seymour
I have seen this behaviour, though never determined the root cause
.Probably the simplest thing you can do without access to the server
is to put your git svn fetch into a bash while loop, like so:

while ! git svn fetch; do :; done;

jon

On Sat, Nov 30, 2013 at 10:14 AM, Matěj Cepl mc...@redhat.com wrote:
 Hi,



 I am trying to git-svn clone
 https://svn.calendarserver.org/repository/calendarserver/CalendarServer/
 and I cannot say I am much succesful. Every couple of hundred of commits
 I get this:


 RA layer request failed: REPORT of
 '/repository/calendarserver/!svn/vcc/default': could not connect to
 server (https://svn.calendarserver.org) at
 /usr/local/share/perl5/Git/SVN/Ra.pm line 290.


 and git-svn stops. When restarting git svn fetch, it fetches
 another couple of hundred commits and then fails again. Given
 that there are 11000+ commits just in the trunk, I am afraid of
 a long long night. Did anybody managed to clone this repo? Or is
 there some way how to make git-svn more patient (this error
 means the SVN server is a bit flakey, right)?

 Best,

 Matěj
 --
 http://www.ceplovi.cz/matej/, Jabber: mc...@ceplovi.cz
 GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC

 A day without sunshine is like night.

--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html