Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

SCM Carnival: msg#00009

version-control.bitkeeper.user

Subject: SCM Carnival

Greetings -- I've been using bk and trying out arch at the same time,
which led me to darcs). So now I'm interested in SCM tracking -- the
problem of using two or more SCMs to
manage the same project. I've posed this problem on gnu-arch-users
and darcs-users lists, and since I mentioned bk, I post it here as
well, hoping for suggestions of topologies and workflows which can
enable multiple distributed SCM tracking, leading to their peaceful
coexistence and healthy redundancy.

I wonder whether there's a mechanism which would allow to update just
the status of internal data, without changing the WC of distributed SCMs.
This way, I'd be able to maintain several SCMs in the same WC, given
they are distributed and non-locking (in RCS ci/co sense). Since I
can put bitkeeper in that mode via checkout:edit, I now have three
SCMs, arch, darcs and bk, and possibly a fourth, svk (buggy, slow,
and tons of Perl modules), in the same directory.

The workflow on one side is easy: if you change files in WC, all SCMs
will notice it and their commits will record the changes (darcs'
record will commit the changes:) into their {arch}, _darcs/,
BitKeeper/SCCS/ subdirectories.

The problem arises when you update another/remote WC via tla
update/bk|darcs pull. The first SCM's pull will do the right thing
for that SCM and for the checked-out files. However, the second and
third, etc., pulls in addition to updating their respective SCMs'
versioning subdirs (is there a special term for them?), will overwrite
the checked-out files again. It should be harmless, except for the
cases where inodes change and tla tracks them, but looks like it
tracks them only in pristines (?). In any case, that's why I've come
up with a mirror-star architecture -- you update either the opposite
center (center), or its leaves (leaves), i.e. you can go to the remote
SCMs separately

A1 A2 (leaves)
| / |
AB1-< AB2 (center)
| \ |
B1 B2

So, if we change A1 or B1, we propagate the change to AB1 first,
from where the other local SCM pulls it. Now we have site 1 in sync.
Then, if we pull to the remote AB2 from AB1, we'd have multiple
overwrites. If we pull into A2 and B2 from AB1 first, we'd at least
be able to check any SCM-specific issues separately. But to keep site
2 in sync, it's still necessary to push from A2 and B2 to AB2, if we
want to reverse the situation later.

Generally, if one site/SCM is read-only, syncing is easy. The problem
is when we want a fully symmetric solution -- we want to work on a
desktop and a laptop interchangeably, and keep several distributed
SCMs with full off-line histories locally. Looks like overwrites of
checked-out files are inevitable with two or more SCMs -- or are they?

Cheers,
Alexy


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qplus.devel/200...    network.jabber....    debian.qa-packa...    encryption.gpg....    python.dabo.dev...    uclinux.devel/2...    science.mathema...    recreation.pesc...    kernel.ck/2004-...    mozilla.devel.e...    tex.latex.prosp...    ietf.multi6/200...    bbc.cvs/2002-11...    xfree86.newbie/...    jakarta.taglibs...    altlinux.hardwa...    comedi/2002-05/...    horde.bugs/2004...    games.diplomacy...    finance.e-gold....    web.dom.test-su...    lang.ruby.rails...    os.netbsd.devel...    video.gstreamer...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation