Mercurial > hg > mercurial-crew-with-dirclash
view tests/test-hgrc @ 3548:88b4755fa48f
httprepo: record the url after a request, makes pull + redirect works
POST+redirect doesn't work in python, as a workaround we record the url
from the previous GETs so that when we do a POST it uses the redirected url
fix issue327
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Fri, 27 Oct 2006 15:02:27 +0200 |
parents | 7d66ce9895fa |
children | 7a7d4937272b |
line wrap: on
line source
#!/bin/sh mkdir t cd t hg init echo "invalid" > .hg/hgrc hg status 2>&1 |sed -e "s:/.*\(/t/.*\):...\1:"