Issue #3248 on hold

Pushing repo with subrepos is slow again

Zoltán Lehóczky
created an issue

I noticed that with the previous version TortoiseHg got much faster: before that pushing repos with many subrepos was slow as Tortoise went over every subrepos, even the ones not touched, and asked the server:

pushing subrepo ... to ... searching for changes no changes found

In the previous version this server-roundtrip was not there anymore and everything was much faster!

However with the current version 2.8.1 it seems everything is back to the slow variant. Why the change?

Comments (4)

  1. Angel Ezquerra

    This has not been changed on purpose. This improvement was done on the mercurial side and it has not been changed since it was introduced on mercurial 2.6. There was a known issue on windows (mercurial issue3926: were the "clean subrepo detection" function could fail but this was fixed on mercurial 2.6.1 (TortoiseHg 2.8.1 includes mercurial 2.6.2, which contains the fix).

    So if subrepo clean detection if failing for you it is either a configuration issue or a bug.

    Could you tell us what OS you are using?

    Could you also please go to the sync tab, click on the "Options" button and confirm that you have the "Force push or pull (override safety checks)" option unchecked?

  2. Zoltán Lehóczky reporter

    Thanks for the reply. Interesting enough, now I can't reproduce the issue with the same repository... I'll keep an eye on this and come back once I see it again.

    I'm on Windows 8 BTW and I don't have force push enabled (but "Allow push of new branch" I have if it makes a difference).

  3. Log in to comment