[issue857] Revert of single file very slow on large repository

John Rice mercurial-bugs at selenic.com
Thu Dec 6 08:22:05 CST 2007


New submission from John Rice <john.rice at sun.com>:

If you call Revert modification on a single file, it takes a long time on a big
repository. To reproduce:
Running with hg 0.9.3 on OpenSoalris b78:

- take repository from
http://deadlock.netbeans.org/hudson/job/hgimport/lastSuccessfulBuild/artifact/apisupportx/hgimport/out/main.tar.gz
- untar with gtar
- run hg update to populate the working dir
- Edit and save
~/work/main/o.o.util/src/org/netbeans/modules/openide/util/AWTBridge.java

- run:
$ time hg revert --repository ~/work/main --rev 0
~/work/main/o.o.util/src/org/netbeans/modules/openide/util/AWTBridge.java

real    0m59.899s
user    0m27.126s
sys     0m3.109s

----------
messages: 4473
nosy: jmr
priority: bug
status: unread
title: Revert of single file very slow on large repository

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue857>
____________________________________________________



More information about the Mercurial-devel mailing list