Re: [PATCH RFC] git-remote-mediawiki: push-by-rev

2013-06-16 Thread Matthieu Moy
Célestin Matte writes: > This uses subroutines used by the fetch-by-rev strategy. I'm not sure it's > actually complete: can it be that simple? The function says: # Get the last remote revision without taking in account which pages are # tracked or not. This function makes a single request

[PATCH RFC] git-remote-mediawiki: push-by-rev

2013-06-16 Thread Célestin Matte
From: Célestin Matte Add the push-by-rev option This allows one to look for changes by revision instead of by page. The result is a much faster push on little-activity wikis. Indeed, instead of sending one request by page to check that the remote revision is our local latest revision, we only sen

[PATCH RFC] git-remote-mediawiki: push-by-rev

2013-06-16 Thread Célestin Matte
From: Célestin Matte This patch intends to introduce the by_rev strategy for the push command, as already available for the fetch one. This uses subroutines used by the fetch-by-rev strategy. I'm not sure it's actually complete: can it be that simple? However, I tested on a local wiki and it seem