On Fri, Jun 27, 2014 at 4:56 PM, Michai Ramakers <m.ramak...@gmail.com>
wrote:

> slight revisit of this post:
>
> http://lists.fossil-scm.org:8080/pipermail/fossil-users/2014-March/015613.html
>
> How do you normally switch between checkouts (assuming there are no
> local changes)? I'd use either 'update' or 'checkout', but both can
> leave files that were not originally in the target-checkout (and which
> are not detected by 'extra', thus are not cleaned by 'clean').
>

There was a recent thread about this where, as i remember it, the summary
was:

a) DRH uses 'update' to switch

b) i use checkout - didn't even know update could be used that way until
DRH mentioned it.

and the audience was fairly evenly split on both approaches, IIRC.


> What I do now is delete by hand the subtree of the working copy I'm
> interested in (thus avoiding any possible leftover files after the
> checkout), and then doing 'checkout --force MyTag'.
>
> I noticed 'checkout --force' is rather slow (didn't investigate
> further or try on different machines), and thus I wonder how silly
> this is compared to just opening the repo multiple times - once for
> each desired checkout/tag.
>

As Ron says: disk space is cheap, at least on workstations running fossil.
i occasionally swap between branches for quick work using 'co' but when i
need to do something more invasive i 'open' a second copy. It's rare,
though.

PS: i'd be interested to know what makes --force slower, if you find out.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to