Steffen Elberg Godskesen
f9d01b4118
Merged in fix/support-branchpull-in-newer-clients (pull request #6 )
...
hg pull -b <branch> now works correctly through proxy
2019-11-27 08:37:56 +00:00
Steffen Elberg Godskesen
7aa4a87ef3
Close branch fix/support-branchpull-in-newer-clients
2019-11-27 08:37:56 +00:00
Lasse Aagren
39adf49704
hg pull -b <branch> now works correctly through proxy
2019-11-27 09:20:37 +01:00
Lasse Aagren
6754d9b947
Merged in fix/support-newer-clients (pull request #5 )
...
make hgwebcachingproxy support clients newer than 4.5.3
2019-02-27 08:45:12 +00:00
Lasse Aagren
845d89e850
make hgwebcachingproxy support clients newer than 4.5.3
2019-02-27 09:40:23 +01:00
Henrik Stuart
9bb406e604
Support Mercurial 4.3.1
2017-08-29 11:09:44 +02:00
Mads Kiilerich
9d06984617
Also forward listkey - fixes non-publishing pushes of draft changesets
...
Listkeys are not append only and they are low bandwidth, so we prefer to not
serve them from the cache.
Serving from the cache was especially a problem after pushing non-publishing
where we after the push don't have the pushed changesets and they would appear
public.
2016-11-14 13:09:47 +01:00
Mads Kiilerich
acea952f9c
Support Mercurial 3.9
2016-08-05 15:09:05 +02:00
Henrik Stuart
252bb7c18b
Better fix for potential race conditions
...
Two different clients can potentially try to pull and recover at the same time
since renaming of journal files happen outside the transaction. For good
measure, push has also been guarded with a wider lock.
2016-06-22 10:44:14 +02:00
Henrik Stuart
a3a73bc905
Fix race condition
...
If two processes were instantiated to the same repository and received
capabilities roughly at the same time, causing one to wait for the other's pull
to finish, the subsequent pull would be performed on a "dirty" instance of the
repository, possibly causing repository corruption. This is fixed by taking a
lock at the outer level, invalidating, then performing the pull with the lock
already in place.
2016-06-20 15:28:15 +02:00
Mads Kiilerich
feb9d89130
Update tests - phases are now a part of the bundle
2016-06-20 16:10:00 +02:00
Mads Kiilerich
d6d3eaa6d6
Update minimum required version to 3.8 ... which changed --daemon-postexec
2016-06-20 16:07:46 +02:00
Mads Kiilerich
b4b858c45e
Report internal errors instead of plain 'abort: HTTP Error 500: Internal Server Error'
2016-06-16 14:09:46 +02:00
Mads Kiilerich
df2af0d43f
Make it possible to specify a config file to the wsgi app - don't rely on ~apache/.hgrc for enabling largefiles
2016-03-04 00:33:44 +01:00
Mads Kiilerich
53a02c91ca
Add support for showing an unauthenticated index page at the root - useful for instructions
2016-03-04 00:32:29 +01:00
Mads Kiilerich
3d5673e997
Shuffle things around - preparing for next change, and arguably slightly better
...
Better logging of invalid requests.
2016-03-04 00:28:00 +01:00
Mads Kiilerich
ca9403962a
Updated supported versions to 3.7 and one year back
...
Tests are only updated to be passing with 3.7 - but older versions should work
too.
2016-03-03 22:18:44 +01:00
Mads Kiilerich
232e49e422
Update expected output after Mercurial 3.7 29cfc474c5fd adding experimental flag for cg3 and undoing 77d25b913f80
2016-03-03 22:18:05 +01:00
Mads Kiilerich
fa72624224
Update expected output after Mercurial 3.7 77d25b913f80 with cg3
2016-03-03 22:18:05 +01:00
Mads Kiilerich
76d1cfad97
Update expected output after Mercurial 3.5 d8e7b0781ad7 with PushkeyFailed
2016-03-03 22:18:05 +01:00
Mads Kiilerich
baef9d0fc1
Update expected output after Mercurial 3.5 8cd0159207df with bundle2 error capability
2016-03-03 22:18:05 +01:00
Mads Kiilerich
04efc49ef5
Update expected output after Mercurial 3.5 d0c7ffc4c8bc
2016-03-03 22:18:05 +01:00
Mads Kiilerich
ef3da1c3d0
Update expected output after Mercurial 3.5 with ff955e7b1085 changed to bundle2 by default
2016-03-03 22:18:05 +01:00
Mads Kiilerich
04a74e0d62
Update expected output after Mercurial 3.5 with d0f1d8b4de57 optimized it
2016-03-03 22:18:05 +01:00
Mads Kiilerich
594d83dc37
Support Mercurial 3.8 7623ba92af72 with renaming from --daemon-pipefds to --daemon-postexec
2016-03-03 22:18:05 +01:00
Mads Kiilerich
8f3ef5f318
Support Mercurial 3.8 aa73d6a5d9ea fully moving norepo to @command (supported since Mercurial 3.1)
2016-03-03 22:18:05 +01:00
Mads Kiilerich
1b156f02b1
Support Mercurial 3.7 ea8e27e6098d which moved hgwebservice
2016-03-03 22:17:42 +01:00
Mads Kiilerich
3e5729cd01
Python 2.6+ only - use `except ... as ...:`
2016-03-03 22:17:33 +01:00
Mads Kiilerich
58202fdf53
Comply with Mercurial 3.6 b3f7516fa50e convention of using error.Abort directly
2016-03-03 22:16:53 +01:00
Mads Kiilerich
63d1a0d747
Forward lookup commands to remote server too - gives support for local tags
...
Local tags on the server can not mirrored - instead, ask the server directly.
2014-12-29 19:44:08 +01:00
Mads Kiilerich
fbaddf2b99
Extend existing POST forwarding to also handle GET
2014-12-29 19:44:02 +01:00
Mads Kiilerich
e4e440ad21
tests: add test for local tags on server side
2014-12-29 19:43:56 +01:00
Mads Kiilerich
76b223c94c
tests: keep an eye on the accesslog instead of the empty error log
...
Debug output disappears in daemon mode - but accesslog gives an ok idea of what
is going on.
2014-12-29 19:43:47 +01:00
Mads Kiilerich
0866d9b35e
tests: remove bitrot
...
The 'hgweb' error log do not (no longer?) contain debug output.
2014-12-29 19:43:26 +01:00
Mads Kiilerich
a2131d5ebb
Updated testedwith attribute to include 3.2
2014-11-28 16:21:56 +01:00
Mads Kiilerich
57cbff4adc
Fix after Mercurial API change in 3.2
...
41421bd9c42e dropped localrepo.pull .
2014-11-28 16:20:20 +01:00
Mads Kiilerich
30852b1a5f
Automatically run 'recover' if pull fails - should work around occasional corruption
2014-04-07 18:53:05 +02:00
Mads Kiilerich
d7465cdf3b
Authenticate before creating dirs and trying to clone
2013-12-06 16:42:44 +01:00
Mads Kiilerich
94a1cd280d
Create directories on demand
2013-12-06 13:55:06 +01:00
Mads Kiilerich
fd8dbc3dad
Don't update when cloning
2013-12-05 01:19:26 +01:00
Mads Kiilerich
0a4ce8ec09
Better logging of error messages
2013-11-20 14:58:35 -05:00
Mads Kiilerich
e7589645c0
Avoid Exception.message DeprecationWarning
2013-11-20 14:50:21 -05:00
Mads Kiilerich
c52abfb793
Be a bit more informative about fetching largefiles
2013-11-20 14:14:40 -05:00
Mads Kiilerich
d905c4cc97
Server should preferuncompressed by default
2013-11-20 14:02:26 -05:00
Mads Kiilerich
c59ded7a27
Tweak clone message
2013-11-20 13:57:06 -05:00
Mads Kiilerich
111ec53813
Automatically populate the mirror with new repos
2013-11-20 10:30:05 -05:00
Mads Kiilerich
f359293399
Fix HTTP_BAD_REQUEST NameError
2013-11-19 17:14:20 -05:00
Mads Kiilerich
d32fb23df2
Initial checkin of hgwebcachingproxy
2013-10-25 15:30:42 +08:00