OpenJDK (Java) migrating from Mercurial?

Uwe Brauer oub at mat.ucm.es
Tue Nov 19 08:31:06 UTC 2019


   > Malcolm Matalka <mmatalka at gmail.com> writes:
Hi Arne

   > I checked that with 10k branches and found no performance problems.

   > And this is also what I miss in most discussions between git and
   > anything else: Checking claims before making them.

   > If you wonder whether branches are expensive, it is very easy to simply
   > check that.


   > hg init testbranching
   > cd testbranching
   > echo 1>1; hg ci -Am zero
   > echo 2>1; hg ci -Am one
   > time for i in {2..100}; do echo $i > $i; hg update -q $((($i / 2))); hg branch -q b$i; hg ci -qAm $i; done
   > time for i in {102..200}; do echo $i > $i; hg update -q $((($i / 2))); hg branch -q b$i; hg ci -qAm $i; done


Thanks for the script, I got curious, saved the instructions in a file
and run it either in bash or in tcsh shell, but always obtained the
following error 

adding 1

time: cannot run for: No such file or directory
Command exited with non-zero status 127
0.00user 0.00system 0:00.00elapsed ?%CPU (0avgtext+0avgdata 1224maxresident)k
0inputs+0outputs (0major+28minor)pagefaults 0swaps
./testbranching.sh: 11: ./testbranching.sh: cannot create : Directory nonexistent
./testbranching.sh: 11: ./testbranching.sh: arithmetic expression: expecting primary: "( / 2)"


So there is something I miss, but what?

Thanks

Uwe 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5025 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20191119/44a94499/attachment.p7s>


More information about the Mercurial mailing list