Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.tele.dk!feed118.news.tele.dk!news.tele.dk!small.news.tele.dk!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.028 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'cpython': 0.05; '21,': 0.07; 'subject:Question': 0.07; 'mercurial': 0.09; 'subject:Source': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'changes': 0.15; 'downside': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'maintainer': 0.16; 'manner,': 0.16; 'revision.': 0.16; 'tarball': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'days,': 0.24; 'earlier': 0.24; 'cc:2**0': 0.24; 'source': 0.25; 'compiled': 0.26; 'push': 0.26; 'downloaded': 0.26; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; 'chris': 0.29; 'am,': 0.29; 'patch': 0.29; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'code': 0.31; 'software,': 0.31; '3.2': 0.31; 'file': 0.32; 'probably': 0.32; 'figure': 0.32; 'know.': 0.32; 'says': 0.33; 'fri,': 0.33; "can't": 0.35; 'but': 0.35; 'received:google.com': 0.35; 'apply,': 0.36; 'two': 0.37; 'project': 0.37; 'files': 0.38; 'rather': 0.38; 'how': 0.40; 'easy': 0.60; 'truly': 0.60; 'back': 0.62; 'offer': 0.62; 'skip:n 10': 0.64; 'sum': 0.64; 'more': 0.64; 'size.': 0.65; 'between': 0.67; 'mar': 0.68; 'importantly,': 0.68; '9:19': 0.84; 'grew': 0.84; 'presumably': 0.84; 'subject:Control': 0.84; 'ratio': 0.91; 'to:none': 0.92 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:cc :content-type; bh=WBDhe1ajBFQN8SW8IKjseNPLBS5Gwi2GC4Li2FaQFpI=; b=uYGPIvg2JaOM11BFMr0BuNURC1Hm+OPGMY5eiPrZX0ZfQHhWfWaeeY7yG0H604Lzcn 90riqhrUCbAgkJ/H24gZnXsBe9bt2ZTxpJ0c7YCm2QKeWhc3eMqxHKK57fa7U1mjTQWx 93CMVse8cfQbpiWvoCynE6Vjcmz9bxLVAvDHHgz0HQtjWOFKuglyg8A1mkxzLNXqCMv3 yxdo+OBfyYoilvWKuOczVP4pysmlUbKTnODa7LCfxBlreSZGVhlPlhu9pnIMU6recgJa 4S2bqsZYD/3u8FcVHM6HOgV+LRNnwQBSLFCcFb3xb4oIg+XYKifVWpDIMMeMcJluvnP4 DMEg== MIME-Version: 1.0 X-Received: by 10.68.201.10 with SMTP id jw10mr49907886pbc.25.1395354863773; Thu, 20 Mar 2014 15:34:23 -0700 (PDT) In-Reply-To: References: Date: Fri, 21 Mar 2014 09:34:23 +1100 Subject: Re: Question about Source Control From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 39 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1395354874 news.xs4all.nl 2833 [2001:888:2000:d::a6]:36058 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:68636 On Fri, Mar 21, 2014 at 9:19 AM, Gregory Ewing wrote: > Chris Angelico wrote: >> >> You can then offer a non-source-control means of downloading that >> specific revision. > > Just keep in mind the downside that you can't then > push or pull your changes directly back into the main > repository. You can generate a patch file for the > project maintainer to apply, however. Hg makes it > very easy to produce a patch file between any two > revisions. Yes, but a lot of people just want to get the software, they don't actually need to generate patch files :) > Also, unless the project is truly ancient, the > whole history might not be as big as you expect. > The code presumably grew to its present size > incrementally, in an approximately monotonic > manner, so the sum of all the diffs is probably > about the same order of magnitude as the current > code size. > > As an experiment, I just cloned a copy of the > CPython repository, and it's about 300MB. A > tarball of Python 3.2 that I downloaded and > compiled earlier is about 75MB. That's a ratio > of about 4, and CPython is a pretty ancient > project! Yep! But cloning requires that you have Mercurial installed and, more importantly, know how to use it. We don't have a huge proliferation of source control systems these days, but if someone says "Our code is available via Perforce", I'm going to just look for a tarball download, rather than figure out a source control system I don't know. ChrisA