Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!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.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'tree': 0.05; 'subject:Question': 0.07; 'versions.': 0.07; 'difference,': 0.09; 'git': 0.09; 'subject:Source': 0.09; 'cc:addr:python-list': 0.11; 'changes': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'appropriate': 0.16; 'do,': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'versions': 0.24; 'cc:2**0': 0.24; 'source': 0.25; 'header:In-Reply-To:1': 0.27; 'record': 0.27; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'sense': 0.34; 'received:google.com': 0.35; 'there': 0.35; 'two': 0.37; 'pm,': 0.38; 'does': 0.39; 'real': 0.63; 'effectively': 0.66; 'mar': 0.68; 'replay': 0.84; 'subject:Control': 0.84; 'to:none': 0.92; 'differences': 0.93 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=/5H6YOs02hntfe3ZrTTXWJ7mJj/tO0px08gxLyNtXig=; b=NpYt8rZdaMQ8WINlcBppzAq259hhBYSK8E1r8EKJigNb5SlV+dRslmwS1lFPqF8Nyl sXJFzDb0a4u3eox/vZ+X/Lzb/ftKAYwBMkVRcBdN1ATW0iO7QEtd/sHZGeK0MlIuhYVD a2MV/SyiOyCXMkVYRUixhZeNkIGVJ8zNdCmAJ1alvI4b5D3coeFR4yD949nm0BgPnm4c ahSRk5A0mYr2i0zth3sYreyGTvCQsCktoX77k8VUSNYP1Tu99Qd2yslEZ8pyA7bfAHft 61IvfQM1meMIWf21Gum0qt901fEoj/ETJ4tJzP91X1SJ7NyONxHsWUbpKScC6szbnbgM 1Xtw== MIME-Version: 1.0 X-Received: by 10.68.235.6 with SMTP id ui6mr30066682pbc.45.1395130097462; Tue, 18 Mar 2014 01:08:17 -0700 (PDT) In-Reply-To: <5327fc07$0$2923$c3e8da3$76491128@news.astraweb.com> References: <5327fc07$0$2923$c3e8da3$76491128@news.astraweb.com> Date: Tue, 18 Mar 2014 19:08:17 +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: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1395130100 news.xs4all.nl 2895 [2001:888:2000:d::a6]:40679 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:68496 On Tue, Mar 18, 2014 at 6:55 PM, Steven D'Aprano wrote: > I don't think that *version* control is the right model to describe what > hg and git do, although it may be appropriate for subversion. hg doesn't > manage *versions*, it manages changes to source code ("changesets"). Meh... Is there any real difference? With git, I can check out any tree state I like ("give me the 50th parent of the current HEAD"), so in that sense it effectively stores versions - at least, it can retrieve or recreate versions. Does it store versions and optimize them by recording only the difference, or record differences and replay them to recreate a state? Two sides of the same coin. ChrisA