Bug#586907: #586907 the problem still happens - cannot pull the repo

2010-07-12 Thread Wagner Bruna
As explained in 

http://mercurial.selenic.com/bts/issue2255

, that bug is triggered by lots of http requests, and that only happens
when there is a certain number of new remote changes.

Could you try the following patch?

http://mercurial.selenic.com/bts/file1106/issue2255fix-basicauth.diff

Regards,
Wagner



  



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#586907: #586907 the problem still happens - cannot pull the repo

2010-07-12 Thread Artur R. Czechowski
Hello,

On Mon, Jul 12, 2010 at 08:58:15AM -0700, Wagner Bruna wrote:
 Could you try the following patch?
 
 http://mercurial.selenic.com/bts/file1106/issue2255fix-basicauth.diff
After applying this patch hg pull has been run successfully.

Regards
Artur
-- 
http://blabluga.hell.pl/rrdwizard/ - create RRD files instant



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#586907: #586907 the problem still happens - cannot pull the repo

2010-07-11 Thread Artur R. Czechowski
reopen 586907
thanks

Package: mercurial
Version: 1.6-2
Severity: normal

Hello,
The problem still exists.

artu...@szczaw:~/gry/rpg$ hg pull
http authorization required
realm: Mercurial repositories
user: arturcz
password: 
pulling from https://blabluga.hell.pl/hg/prv/arturcz/rpg/
searching for changes
abort: authorization failed

Please also see the apache log, especially the last line:

192.168.x.y - - [11/Jul/2010:20:42:47 +0200] GET 
/hg/prv/arturcz/rpg/?pairs=-cmd=between
 HTTP/1.1 401 580 - mercurial/proto-1.0
192.168.x.y - arturcz [11/Jul/2010:20:42:50 +0200] GET 
/hg/prv/arturcz/rpg/?pairs=-cmd=between
 HTTP/1.1 200 1 - mercurial/proto-1.0
192.168.x.y - - [11/Jul/2010:20:42:50 +0200] GET 
/hg/prv/arturcz/rpg/?cmd=heads HTTP/1.1 401 580 - mercurial/proto-1.0
192.168.x.y - arturcz [11/Jul/2010:20:42:50 +0200] GET 
/hg/prv/arturcz/rpg/?cmd=heads HTTP/1.1 200 41 - mercurial/proto-1.0
192.168.x.y - - [11/Jul/2010:20:42:51 +0200] GET 
/hg/prv/arturcz/rpg/?nodes=1270e15166c8bf73360fae0714bac1bd609f485ccmd=branches
 HTTP/1.1 401 580 - mercurial/proto-1.0
192.168.x.y - arturcz [11/Jul/2010:20:42:51 +0200] GET 
/hg/prv/arturcz/rpg/?nodes=1270e15166c8bf73360fae0714bac1bd609f485ccmd=branches
 HTTP/1.1 200 164 - mercurial/proto-1.0
192.168.x.y - - [11/Jul/2010:20:42:51 +0200] GET 
/hg/prv/arturcz/rpg/?pairs=1270e15166c8bf73360fae0714bac1bd609f485c-73588320eb9ae5b1d50f68938e5f0685ddcb7277cmd=between
 HTTP/1.1 401 580 - mercurial/proto-1.0
192.168.x.y - arturcz [11/Jul/2010:20:42:51 +0200] GET 
/hg/prv/arturcz/rpg/?pairs=1270e15166c8bf73360fae0714bac1bd609f485c-73588320eb9ae5b1d50f68938e5f0685ddcb7277cmd=between
 HTTP/1.1 200 205 - mercurial/proto-1.0
192.168.x.y - - [11/Jul/2010:20:42:52 +0200] GET 
/hg/prv/arturcz/rpg/?pairs=b5e79d6f348021e46c6a5a943b7960773cd2ffac-73588320eb9ae5b1d50f68938e5f0685ddcb7277cmd=between
 HTTP/1.1 401 580 - mercurial/proto-1.0
192.168.x.y - arturcz [11/Jul/2010:20:42:52 +0200] GET 
/hg/prv/arturcz/rpg/?pairs=b5e79d6f348021e46c6a5a943b7960773cd2ffac-73588320eb9ae5b1d50f68938e5f0685ddcb7277cmd=between
 HTTP/1.1 200 164 - mercurial/proto-1.0
192.168.x.y - - [11/Jul/2010:20:42:52 +0200] GET 
/hg/prv/arturcz/rpg/?pairs=3055c36f2129d617a345880e8033fb134ca125f2-43bbd828725e1ecc9964e0ab4238054ee0fc603acmd=between
 HTTP/1.1 401 580 - mercurial/proto-1.0
192.168.x.y - arturcz [11/Jul/2010:20:42:52 +0200] GET 
/hg/prv/arturcz/rpg/?pairs=3055c36f2129d617a345880e8033fb134ca125f2-43bbd828725e1ecc9964e0ab4238054ee0fc603acmd=between
 HTTP/1.1 200 82 - mercurial/proto-1.0
192.168.x.y - - [11/Jul/2010:20:42:53 +0200] GET 
/hg/prv/arturcz/rpg/?cmd=capabilities HTTP/1.1 401 580 - 
mercurial/proto-1.0

For some reason the request for capabilities is not repeated with credentials.

After replacing shebang with python2.5 it works again:

artu...@szczaw:~/gry/rpg$ hg pull
http authorization required
realm: Mercurial repositories
user: arturcz
password: 
pulling from https://blabluga.hell.pl/hg/prv/arturcz/rpg/
searching for changes
adding changesets
adding manifests
adding file changes
added 21 changesets with 22 changes to 11 files
(run 'hg update' to get a working copy)

You can also see apache log for that action:

192.168.109.13 - - [11/Jul/2010:20:50:36 +0200] GET 
/hg/prv/arturcz/rpg/?pairs=-cmd=between
 HTTP/1.1 401 580 - mercurial/proto-1.0
192.168.109.13 - arturcz [11/Jul/2010:20:50:39 +0200] GET 
/hg/prv/arturcz/rpg/?pairs=-cmd=between
 HTTP/1.1 200 1 - mercurial/proto-1.0
192.168.109.13 - - [11/Jul/2010:20:50:40 +0200] GET 
/hg/prv/arturcz/rpg/?cmd=heads HTTP/1.1 401 580 - mercurial/proto-1.0
192.168.109.13 - arturcz [11/Jul/2010:20:50:40 +0200] GET 
/hg/prv/arturcz/rpg/?cmd=heads HTTP/1.1 200 41 - mercurial/proto-1.0
192.168.109.13 - - [11/Jul/2010:20:50:40 +0200] GET 
/hg/prv/arturcz/rpg/?nodes=1270e15166c8bf73360fae0714bac1bd609f485ccmd=branches
 HTTP/1.1 401 580 - mercurial/proto-1.0
192.168.109.13 - arturcz [11/Jul/2010:20:50:40 +0200] GET 
/hg/prv/arturcz/rpg/?nodes=1270e15166c8bf73360fae0714bac1bd609f485ccmd=branches
 HTTP/1.1 200 164 - mercurial/proto-1.0
192.168.109.13 - - [11/Jul/2010:20:50:41 +0200] GET 
/hg/prv/arturcz/rpg/?pairs=1270e15166c8bf73360fae0714bac1bd609f485c-73588320eb9ae5b1d50f68938e5f0685ddcb7277cmd=between
 HTTP/1.1 401 580 - mercurial/proto-1.0
192.168.109.13 - arturcz [11/Jul/2010:20:50:41 +0200] GET 
/hg/prv/arturcz/rpg/?pairs=1270e15166c8bf73360fae0714bac1bd609f485c-73588320eb9ae5b1d50f68938e5f0685ddcb7277cmd=between
 HTTP/1.1 200 205 - mercurial/proto-1.0
192.168.109.13 - - [11/Jul/2010:20:50:41 +0200] GET 
/hg/prv/arturcz/rpg/?pairs=b5e79d6f348021e46c6a5a943b7960773cd2ffac-73588320eb9ae5b1d50f68938e5f0685ddcb7277cmd=between
 HTTP/1.1 401 580 -