Branch = copy - no central repository of branches?
Bryan O'Sullivan
bos at serpentine.com
Sun Jun 18 18:22:50 CDT 2006
On Sun, 2006-06-18 at 21:49 +0100, Paul Moore wrote:
> But where's the protection, then?
You can protect yourself, i.e. replicate a branch, by cloning a copy of
it on another machine, or onto a USB drive that you leave in a fire
safe, and so on. The case you're worried about is the same as
forgetting where your working copy is with a centralised tool, or
reformatting a disk that has a working copy with uncommitted changes on
it. You're safer with a distributed tool, because you'll have more
copies of the complete history.
> Have I missed something? Is there a way of maintaining multiple
> branches within one repository, so that I can have one central backup
> point for "everything"?
Yes, just use the "push" and "pull" commands to move changes from one
repo to another.
<b
--
Bryan O'Sullivan <bos at serpentine.com>
More information about the Mercurial
mailing list