← Back to team overview

dolfin team mailing list archive

Re: Pushing removed revisions

 

I had used bzr init instead of init-repo...


On 10 December 2012 11:40, Johannes Ring <johannr@xxxxxxxxx> wrote:

> On Mon, Dec 10, 2012 at 10:47 AM, Martin Sandve Alnæs
> <martinal@xxxxxxxxx> wrote:
> > 5 seconds? Really? It takes 50-70 seconds for me even with a local
> branch.
> > Just copying a clean branch with cp -r takes <1s.
> > That's my main reason to like git over bzr, fast in-place branching.
> >
> > I have run bzr init . here before checking out:
> > martinal@martinal-mac:~/dev/fenics/dolfin$ ls .bzr
> > branch  branch-format  branch-lock  checkout  README  repository
> >
> > martinal@martinal-mac:~/dev/fenics/dolfin$ time bzr branch trunk clean2
> > Branched 7208 revisions.
> >
> > real 1m11.411s
> > user 1m8.604s
> > sys 0m0.936s
> >
> > martinal@martinal-mac:~/dev/fenics/dolfin$ time bzr branch clean2 clean3
> > Branched 7208 revisions.
> >
> > real 0m48.138s
> > user 0m46.095s
> > sys 0m0.860s
> >
> > martinal@martinal-mac:~/dev/fenics/dolfin$ time bzr branch clean2 clean4
> > Branched 7208 revisions.
> >
> > real 0m47.832s
> > user 0m46.063s
> > sys 0m0.752s
>
> It is much faster for me. Here are some timings:
>
> johannr@debian-t420s:dolfin$ time bzr branch lp:dolfin clean
> Branched 7208 revisions.
>
> real    0m6.003s
> user    0m1.120s
> sys    0m0.196s
> johannr@debian-t420s:dolfin$ time bzr branch trunk clean2
> Branched 7208 revisions.
>
> real    0m1.262s
> user    0m1.064s
> sys    0m0.164s
> johannr@debian-t420s:dolfin$ time bzr branch clean2 clean3
> Branched 7208 revisions.
>
> real    0m1.270s
> user    0m1.040s
> sys    0m0.196s
> johannr@debian-t420s:dolfin$
>
> Johannes
>

Follow ups

References