Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; '16,': 0.03; 'cpython': 0.05; 'repository': 0.05; 'git': 0.09; 'mercurial': 0.09; 'read- only': 0.09; 'yeah,': 0.09; 'big,': 0.16; 'dvcs': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'guessing': 0.16; 'hmm.': 0.16; 'parts.': 0.16; 'roy': 0.16; 'shallow': 0.16; 'files.': 0.16; 'size,': 0.16; 'wrote:': 0.18; 'seems': 0.21; "shouldn't": 0.24; 'push': 0.26; 'gets': 0.27; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'patch': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'lot.': 0.31; 'maybe': 0.34; 'problem': 0.35; 'problem.': 0.35; 'but': 0.35; 'received:google.com': 0.35; '(we': 0.36; 'skip:~ 10': 0.36; 'to:addr:python-list': 0.38; 'that,': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'major': 0.40; 'everybody': 0.60; 'full': 0.61; "you'll": 0.62; 'smith': 0.68; 'bulk': 0.74; 'subject:Control': 0.84; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=07eeY90/ZofgqIJpX1j5lxJJA5knwQFvBWfEQkmTdnY=; b=jPumL/umlqef6vizlQsVGh0nHWePLxdDuouBJDTvJ9AxNxtzrHdcdNH4bKp8In8cO9 75AMFpGwe18AhrMGMg0Ws0Eq1v9qtuGJS7WJhke2+LbmWq7SaWbm9W5gcUeOt44zNy3w Eejn1MqKDcKdYzKm4UvSmKNhhOBGesr9FW7QCdi2seU1+c3Rkau2Top5n3A8Du5I9mvl mZPsjLNsD0EvNDCPWaqz0JEaOaqteTyQpqXcfZWMyOt9h28t4a1F5To1SmrsrSCCmOSy avy4J5hFHIklPxcEqUVNWt9cCwo2/obX/YndGDJKImcVEUud1u8ja/c4LoG5pU9mfHrX w3ag== MIME-Version: 1.0 X-Received: by 10.220.182.193 with SMTP id cd1mr2718898vcb.32.1371338074195; Sat, 15 Jun 2013 16:14:34 -0700 (PDT) In-Reply-To: References: <98c13a55-dbf2-46a7-a2aa-8c5f052ff375@googlegroups.com> <2644d0de-9a81-41aa-b27a-cb4535964b58@googlegroups.com> <51BB8338.50006@davea.name> Date: Sun, 16 Jun 2013 09:14:34 +1000 Subject: Re: Version Control Software From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1371338076 news.xs4all.nl 16004 [2001:888:2000:d::a6]:50583 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:48386 On Sun, Jun 16, 2013 at 12:16 AM, Roy Smith wrote: > The advantage of DVCS is that everybody has a full copy of the repo. > The disadvantage of the DVCS is that every MUST have a full copy of the > repo. When a repo gets big, you may not want to pull all of that data > just to get the subtree you need. Yeah, and depending on size, that can be a major problem. While git _will_ let you make a shallow clone, it won't let you push from that, so it's good only for read-only repositories (we use git to manage software deployments at work - shallow clones are perfect) or for working with patch files. Hmm. ~/cpython/.hg is 200MB+, but ~/pike/.git is only 86MB. Does Mercurial compress its content? A tar.gz of each comes down, but only to ~170MB and ~75MB respectively, so I'm guessing the bulk of it is already compressed. But 200MB for cpython seems like a lot. Anyway, this problem is a good reason for dividing a repository up into logically-separate parts. If you'll often want only one subtree, maybe that shouldn't be a subtree of a monolithic repository. ChrisA