Re: URL rewrite patch

30 views
Skip to first unread message

Massimo DiPierro

unread,
May 19, 2012, 11:30:09 AM5/19/12
to web2py-d...@googlegroups.com, Jonathan Lundell
This patch was applied yesterday but there was a sync problem with dropbox. I messed up my .hg folder. Now I get:

$ hg verifychecking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
gluon/rewrite.py@?: rev 79 points to unexpected changeset 3255
(expected 3260)
1333 files, 3263 changesets, 9320 total revisions
1 warnings encountered!
1 integrity errors encountered!

I will try fix this today. Meanwhile the hg repo is out of sync because I cannot commit to it. Git should be fine.
if you have any advice let me know.

massimo

On May 18, 2012, at 10:51 AM, Jonathan Lundell wrote:

> http://dl.dropbox.com/u/360818/rewrite.patch
>
> This is a minor patch, but slightly more than cosmetic. When the parametric router finishes with an incoming URL, it updates env.request_uri to be the fully expanded version of the original incoming URL. If there was a language specified, it was erroneously putting the language segment first, instead of second (after the app).

Jonathan Lundell

unread,
May 19, 2012, 12:48:42 PM5/19/12
to web2py-developers
On May 19, 2012, at 8:30 AM, Massimo DiPierro wrote:
>
> This patch was applied yesterday but there was a sync problem with dropbox. I messed up my .hg folder. Now I get:
>
> $ hg verifychecking changesets
> checking manifests
> crosschecking files in changesets and manifests
> checking files
> gluon/rewrite.py@?: rev 79 points to unexpected changeset 3255
> (expected 3260)
> 1333 files, 3263 changesets, 9320 total revisions
> 1 warnings encountered!
> 1 integrity errors encountered!
>
> I will try fix this today. Meanwhile the hg repo is out of sync because I cannot commit to it. Git should be fine.
> if you have any advice let me know.

Curious that the git version worked.

Slight digression: we could use a new nightly; last I looked it was about a week old.

Massimo DiPierro

unread,
May 19, 2012, 2:51:51 PM5/19/12
to web2py-d...@googlegroups.com
It is because I committed two version from two machine assuming dropbox has synced but it took longer than usual. It has synced .git but not .hg

Will make a new nightly later today.
> --
> mail from:GoogleGroups "web2py-developers" mailing list
> make speech: web2py-d...@googlegroups.com
> unsubscribe: web2py-develop...@googlegroups.com
> details : http://groups.google.com/group/web2py-developers
> the project: http://code.google.com/p/web2py/
> official : http://www.web2py.com/

Reply all
Reply to author
Forward
0 new messages