- Oct 23, 2015
-
-
Gregory Szorc authored
The added tests don't agree in their output. This demonstrates a difference in `hg push` behavior between pre-bundle2 and bundle2. A subsequent patch will attempt to restore some of the pre-bundle2 behavior to bundle2.
-
- Oct 24, 2015
-
-
Yuya Nishihara authored
-
- Oct 23, 2015
-
-
Augie Fackler authored
I have no idea where it came from, but my clone of Mercurial has an empty filelog for `contrib/hgfixes/__init__.py` - it's *valid*, just contains no nodes. Without this change, debugrevlog crashes with a zero division error.
-
Mads Kiilerich authored
'unexpected putlfile response: None' when an http error occurs is not very helpful. Instead, leave the handling of urllib2.HTTPError exceptions to other layers.
-
Mads Kiilerich authored
This reveals a wrong and unhelpful 'unexpected putlfile response'.
-
Mads Kiilerich authored
If the store somehow got corrupted, users could end up in weird situations that were very hard to recover from or lead to propagation of the corruption. Instead, spend the extra time checking the hash when copying to the working directory. If it doesn't match, emit a warning, and don't put wrong content in the working directory.
-
Mads Kiilerich authored
This reveals that update might put a corrupted largefile in the working directory where it will show up as modified and ready for commit.
-
Augie Fackler authored
-
- Oct 22, 2015
-
-
Gregory Szorc authored
This behavior regressed as part of the paths API refactoring. Previous behavior was to accept "default-push" without "default" defined. Current behavior aborts with "default repository not configured!." This patch restores the old behavior and adds test coverage for the scenario, which was absent before.
-
- Oct 21, 2015
-
-
Matt Mackall authored
-
- Oct 20, 2015
-
-
timeless authored
-
Mads Kiilerich authored
Commit of corresponding normal/largefiles pairs would only commit the standin. That is usually fine, except if either the normal file or the standin is a remove while the other is an add. In that case it would either give duplicate colliding entries or lose the file. Instead, commit both filenames if one of them is a remove.
-
Mads Kiilerich authored
This reveals that a switch from normal to largefile violates the normal largefile invariant and gives a manifest with both a normal and standin file in the repository, while a switch from largefile to normal gives nothing. Not good.
-
Matt Mackall authored
-
Matt Mackall authored
-
Matt Mackall authored
-
- Oct 19, 2015
-
-
Mads Kiilerich authored
Instead of reporting spliced in ['82544090e14fe18091e04f1fb0f0d7991cbe6e7e'] as parents of 369fd983d9e13330e9f12d9fce820deae84ea223 report spliced in 82544090e14fe18091e04f1fb0f0d7991cbe6e7e as parents of 369fd983d9e13330e9f12d9fce820deae84ea223
-
Mads Kiilerich authored
--collapse will do that rebase doesn't commit until the final commit. The lack of a new commit would make it look like the rebase didn't contribute any changes. Instead, only warn about no commits when not using --collapse.
-
Sean Farley authored
Wihtout this patch, commands.pull silently drops opargs defeating the whole purpose of the argument.
-
Sean Farley authored
Wihtout this patch, commands.push silently drops opargs defeating the whole purpose of the argument.
-
- Oct 15, 2015
-
-
timeless authored
this backs out 131f7fe06e9e, because Python2.5 support was dropped
-
timeless authored
-
timeless authored
-
timeless authored
-
- Oct 20, 2015
-
-
Ryan McElroy authored
We want to support editors with parameters, eg EDITOR="vim -O" or whatever. So remove the quotes from around $ED and assume that the editor variable is properly escaped already.
-
- Oct 19, 2015
-
-
Pierre-Yves David authored
Before this bundle repository were unable to work with compressed bundle2. We use the same approach as with bundle1, we extract the changegroup in uncompressed form into a temporary file.
-
- Oct 03, 2015
-
-
Pierre-Yves David authored
We were returning 'False' in all cases, even when the bundle2 was actually compressed.
-
- Oct 19, 2015
-
-
Pierre-Yves David authored
Uncompressing bundle2 needs to be handled differently.
-
Pierre-Yves David authored
We will reuse this logic for bundle2
-
Pierre-Yves David authored
-
- Oct 20, 2015
-
-
Pierre-Yves David authored
If the histedit fails, we restore a backup. We make sure this backup bundle can be in bundle2 format as general delta will require.
-
Pierre-Yves David authored
Restoring from a 'bundle2' was missing this data.
-
Pierre-Yves David authored
This will let the hook get access to the 'url' value.
-
Pierre-Yves David authored
We allow specifying the url to carry it to hooks. This gets us closer to 'bundle1.apply(...)' and will allow us to remove regressions in multiple place where we forget to pass the url to hooks.
-
Pierre-Yves David authored
This will let the hook get access to the 'source' value.
-
Pierre-Yves David authored
We allow specifying the source to carry it to hooks. This gets us closer to 'bundle1.apply(...)' and will allow us to remove regressions in multiple places where we forget to pass the source to hooks.
-
Pierre-Yves David authored
This should be set for all bundle2 application, we enforce that at a low level. This is for courtesy with hooks.
-
Pierre-Yves David authored
This is one such place.
-
Pierre-Yves David authored
There is a case where the intent is clear and the transaction is not optional. We want to be able to alter that transaction in a wide and easy way. We cannot get a unified '.apply(repo)' method for bundle1 and bundle2 yet because the api are still a bit too far apart. But this is a good step forward to get the rc out.
-
- Oct 15, 2015
-
-
Siddharth Agarwal authored
This can happen when either 'hg resolve --all' is called or a driver-resolved file is explicitly requested. This is done as part of 'hg resolve --all' so that users still have a chance to test their changes before committing them. The exact semantics here are still to be decided. This does not impact any non-experimental features. Thanks to Pierre-Yves David for some advice about this behavior in particular, and merge drivers in general.
-