[GRASS-dev] svn seems to complete commit to repository, but hang locally

I've never had the SVN hang for me while doing a commit, checkout, or update on my Mac in the short time it has been up.

However, it recently took all day to do an SVN checkout from our lab FC6 box. We tried it several times and finally just went off and left it.

Michael
______________________________
Michael Barton, Professor
Professor of Anthropology
Director of Graduate Studies
School of Human Diversity & Social Change
Center for Social Dynamics & Complexity
Arizona State University
Tempe, AZ 85287-2402
USA

voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

On Jan 25, 2008, at 3:52 PM, grass-dev-request@lists.osgeo.org wrote:

Message: 5
Date: Fri, 25 Jan 2008 15:23:12 -0500
From: Frank Warmerdam <warmerdam@pobox.com>
Subject: Re: [GRASS-dev] svn seems to complete commit to repository,
  but hang locally
To: "Patton, Eric" <epatton@nrcan.gc.ca>
Cc: grass-dev@lists.osgeo.org
Message-ID: <479A4530.1020006@pobox.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Patton, Eric wrote:

On Jan 25, 2008 6:35 PM, Patton, Eric <epatton@nrcan.gc.ca> wrote:

I'm having trouble with svn today...for some reason, the svn commit hangs at "Transmitting file data ." even though the commit seems to have been completed and is browse-able on the repository. >>Has anyone had trouble uploading commits? Server problem, maybe?

Eric,

I was told that this happens when the CIA IRC bot hangs
(http://cia.vc/stats/project/GRASS).

The SVN server should be ok. If you can access IRC, you could in those moments
irc://irc.freenode.net/osgeo
or
irc://irc.freenode.net/telascience (preferred). Then the OSGeo
sysadmins could check.

Markus

Thanks for the hints; I'll give it a try next time.

Eric / Markus,

I've heard this claim about the CIA IRC stuff too but I'm not at all
convinced it is true. The CIA aspect is initiated by an email from
the svn commit hook script and the sending of that email is done by
running a command in the background. I don't see how this could hold
up the overall svn transaction.

I personally have a very high latency satellite connection and https
transactions (as I hope you are using for svn) is very slow over this
link. I also have problems with svn actions appearing to hang even though
from other signs I can see that all the server side action went fine.
I generally end up having to control-c the commit after a couple minutes of
no action and then do an "svn cleanup ; svn update" to fix up my local
repository.

It is possible these issues are somehow related to a problem on the
svn.osgeo.org server, but I haven't been able to isolate anything in the
past. If you are seeing persistent problems, dropping into #osgeo and
letting us know so we can check the server side is a good idea.

But I don't *think* it is really CIA related.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGeo, http://osgeo.org

Eric:

> I'm having trouble with svn today...for some reason, the svn
> commit hangs at "Transmitting file data ." even though the
> commit seems to have been completed and is browse-able on the
> repository.
>Has anyone had trouble uploading commits? Server problem, maybe?

I have had the same problem with the OSGeo svn server last week.
WevSVN showed that the change was there but the svn command did not
return. I figured out the same solution as Frank, ie ^C, svn cleanup,
svn update.

Just now I have had it stall on me again. I left it and switched away
to another workspace but after 3-5 minutes it had finished. Certainly
smells like some sort of network block (misconfigured firewall dropping
instead of rejecting packets?) which waits for a timeout.

Does svn have a super-verbose/debug mode?

Hamish

      ____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs

ps- (and slightly chaning the topic)

Something I miss from the old GRASS ViewCVS web interface was the
"annotate" tool, to see in which rev a change was introduced.
  http://freegis.org/cgi-bin/viewcvs.cgi/grass6/

the new SVN-ViewCVS mirror does not have it:
http://josef.fsv.cvut.cz/cgi-bin/viewcvs.cgi/grass/

:frowning:

Hamish

      ____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs

Hamish,

2008/1/26, Hamish <hamish_b@yahoo.com>:

Something I miss from the old GRASS ViewCVS web interface was the
"annotate" tool, to see in which rev a change was introduced.
  http://freegis.org/cgi-bin/viewcvs.cgi/grass6/

the new SVN-ViewCVS mirror does not have it:
http://josef.fsv.cvut.cz/cgi-bin/viewcvs.cgi/grass/

sorry, I don't understand, comparing

http://freegis.org/cgi-bin/viewcvs.cgi/grass6

and

http://josef.fsv.cvut.cz/cgi-bin/viewcvs.cgi/grass/trunk/?root=grass-osgeo

Regards, Martin

--
Martin Landa <landa.martin@gmail.com> * http://gama.fsv.cvut.cz/~landa *

Hamish:

> Something I miss from the old GRASS ViewCVS web interface was the
> "annotate" tool, to see in which rev a change was introduced.
> http://freegis.org/cgi-bin/viewcvs.cgi/grass6/
>
> the new SVN-ViewCVS mirror does not have it:
> http://josef.fsv.cvut.cz/cgi-bin/viewcvs.cgi/grass/

Martin:

sorry, I don't understand, comparing

http://freegis.org/cgi-bin/viewcvs.cgi/grass6

and

http://josef.fsv.cvut.cz/cgi-bin/viewcvs.cgi/grass/trunk/?root=grass-osgeo

http://freegis.org/cgi-bin/viewcvs.cgi/grass6/display/d.ask/main.c
"Revision 2.4 / (as text) / (view) - annotate - [select for diffs] ,"

                                     ^^^^^^^^^^

http://josef.fsv.cvut.cz/cgi-bin/viewcvs.cgi/grass/trunk/display/d.ask/main.c?rev=23493&root=grass-osgeo&view=log
"Revision 23493 - (view) (download) (as text) - [select for diffs] "

Hamish

      ____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

Hamish wrote:

Hamish:

Something I miss from the old GRASS ViewCVS web interface was the
"annotate" tool, to see in which rev a change was introduced.
  http://freegis.org/cgi-bin/viewcvs.cgi/grass6/

the new SVN-ViewCVS mirror does not have it:
http://josef.fsv.cvut.cz/cgi-bin/viewcvs.cgi/grass/

Martin:

sorry, I don't understand, comparing

http://freegis.org/cgi-bin/viewcvs.cgi/grass6

and

http://josef.fsv.cvut.cz/cgi-bin/viewcvs.cgi/grass/trunk/?root=grass-osgeo

http://freegis.org/cgi-bin/viewcvs.cgi/grass6/display/d.ask/main.c
"Revision 2.4 / (as text) / (view) - annotate - [select for diffs] ,"

                                     ^^^^^^^^^^

http://josef.fsv.cvut.cz/cgi-bin/viewcvs.cgi/grass/trunk/display/d.ask/main.c?rev=23493&root=grass-osgeo&view=log
"Revision 23493 - (view) (download) (as text) - [select for diffs] "

Folks,

For what it's worth, you can get a report from subversion indicating the
last person to touch each line of code using the "svn blame" command.

eg.
svn blame xmlreformat.cpp
...
   4585 warmerda CPLFree( pszRawXML );
   4588 warmerda CPLDestroyXMLNode( poTree );
   4585 warmerda }
   8351 dron
   8351 dron return 0;
   2859 warmerda }
  11940 warmerdam

The first column is the revision in which the line was changed, and the
second column is the userid responsible. My understanding is that this
will appear as an option in the Trac browser in a future version which i'm
quite looking forward to.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGeo, http://osgeo.org

Hi,

2008/1/26, Hamish <hamish_b@yahoo.com>:

Hamish:
> > Something I miss from the old GRASS ViewCVS web interface was the
> > "annotate" tool, to see in which rev a change was introduced.
> > http://freegis.org/cgi-bin/viewcvs.cgi/grass6/
> >
> > the new SVN-ViewCVS mirror does not have it:
> > http://josef.fsv.cvut.cz/cgi-bin/viewcvs.cgi/grass/

Martin:
> sorry, I don't understand, comparing
>
> http://freegis.org/cgi-bin/viewcvs.cgi/grass6
>
> and
>
>
http://josef.fsv.cvut.cz/cgi-bin/viewcvs.cgi/grass/trunk/?root=grass-osgeo

Hamish:

http://freegis.org/cgi-bin/viewcvs.cgi/grass6/display/d.ask/main.c
"Revision 2.4 / (as text) / (view) - annotate - [select for diffs] ,"

                                     ^^^^^^^^^^

http://josef.fsv.cvut.cz/cgi-bin/viewcvs.cgi/grass/trunk/display/d.ask/main.c?rev=23493&root=grass-osgeo&view=log
"Revision 23493 - (view) (download) (as text) - [select for diffs] "

I have upgraded viewcvs, now seems to work also for svn

http://josef.fsv.cvut.cz/cgi-bin/viewcvs.cgi/grass/trunk/display/d.ask/main.c?root=grass-osgeo&view=log

Regards, Martin

--
Martin Landa <landa.martin@gmail.com> * http://gama.fsv.cvut.cz/~landa *