Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #101137

Re: We will be moving to GitHub

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Subject Re: We will be moving to GitHub
Date Sat, 2 Jan 2016 22:40:51 +1100
Lines 45
Message-ID <mailman.159.1451734854.11925.python-list@python.org> (permalink)
References <n66kmg$ig$1@ger.gmane.org> <CAPTjJmq1Qevy7h4pqrQPobLRO-_ooLrXsZhK9Z9YCKPyFnxKsQ@mail.gmail.com> <CAKJDb-MFM6i+MMZXcPkV6x-rFnKr9Yxt4f3ne1dF3dk_SkoFpw@mail.gmail.com> <mailman.146.1451678991.11925.python-list@python.org> <5687718d$0$1612$c3e8da3$5496439d@news.astraweb.com> <87oad41fd4.fsf@elektro.pacujo.net> <mailman.158.1451730569.11925.python-list@python.org> <87k2ns1b0d.fsf@elektro.pacujo.net>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de n4ZudzUmAlIJytYkyxdzEQf4oBQLAe4N48LX95x+TvGg==
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.004
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'repository': 0.05; 'svn': 0.05; 'merging': 0.07; 'cc:addr:python-list': 0.09; 'attempted': 0.09; 'git': 0.09; 'mercurial': 0.09; 'jan': 0.11; 'files.': 0.13; 'file,': 0.15; 'things.': 0.15; '2016': 0.16; "file's": 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'hopeful': 0.16; 'name),': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'merge': 0.18; '>>>': 0.20; 'changes': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'fairly': 0.22; 'saying': 0.22; 'exists.': 0.22; 'names.': 0.22; 'changes,': 0.23; 'dependent': 0.23; 'sat,': 0.23; 'header :In-Reply-To:1': 0.24; 'chris': 0.26; 'separate': 0.27; 'message- id:@mail.gmail.com': 0.27; 'then.': 0.27; 'this.': 0.28; 'branches': 0.29; 'for,': 0.29; 'succeed': 0.29; "i'm": 0.30; "can't": 0.32; 'generally': 0.32; 'maybe': 0.33; 'source': 0.33; 'similar': 0.33; 'received:google.com': 0.35; 'could': 0.35; 'fail': 0.35; 'files,': 0.35; 'but': 0.36; 'too': 0.36; 'received:209.85': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:209.85.213': 0.37; 'version': 0.38; 'received:209': 0.38; 'names': 0.38; 'sure': 0.39; 'rather': 0.39; 'where': 0.40; 'some': 0.40; "you'll": 0.61; 'address': 0.61; 'skip:u 10': 0.61; 'real': 0.62; 'different': 0.63; 'you.': 0.64; "they're": 0.66; 'life': 0.67; 'arrangement.': 0.84; 'chrisa': 0.84; 'strengths': 0.84; 'suits': 0.84; "there'll": 0.84; 'to:none': 0.91; 'treatment': 0.95
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=HnNcihvJ60bMDGMgiUo9GhIsF5ixR4SbvF4S4510gg8=; b=fDfd5fXl1BQhnwkWh94EWFI0gYv5X09xmmjxKyz2shUQYi+tRtKK42HE6hsQU+Ml31 1IzapXtqk222aKhEhxvRg1wLweKkocJZriW2/UMDmOci3Z07FaEUD5lgt+x9hyMz/A0N N7NS8+mTYcyv9HbkHy/saIhYH+gXElQ45o/GICuvGF/r69GbVy+93GqATOZ6x2VSZXdr es7SzPtLpO28vPT/Vzggvl/3zeqYB+tQ7LRvwsc3P7OopsCXQhDbzW+0wR7XL3m4w64w 5Nz3G/JW/namIfexAeUTRImIEphiX1aOmZ11RJRjOqA0+2Ce0l+fvP1ffkcAPc/bkGOa 8Biw==
X-Received by 10.50.60.6 with SMTP id d6mr21395495igr.94.1451734851154; Sat, 02 Jan 2016 03:40:51 -0800 (PST)
In-Reply-To <87k2ns1b0d.fsf@elektro.pacujo.net>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:101137

Show key headers only | View raw


On Sat, Jan 2, 2016 at 10:22 PM, Marko Rauhamaa <marko@pacujo.net> wrote:
> Chris Angelico <rosuav@gmail.com>:
>
>> On Sat, Jan 2, 2016 at 8:48 PM, Marko Rauhamaa <marko@pacujo.net> wrote:
>>> Having struggled with Perforce, SVN and CVS, I was hopeful Mercurial
>>> would be everything Teamware was.
>>>
>>> Unfortunately, it wasn't. The big disappointment was the treatment of
>>> a repository as the atomic unit.
>>
>> You'll need to elaborate on this. Is a repository too large or too
>> small as an atomic unit?
>
> If a repository contains independent changes, Hg and Git fail to
> understand that the changes could be independent and force you to
> resolve a merge conflict where no real conflict exists.
>
> The whole philosophy of dependent and independent changes is
> complicated; only Darcs has attempted to address the issue
> scientifically (<URL: http://darcs.net/Theory/GaneshPatchAlgebra>).
> However, Teamware chose an opportune approximation by treating each
> file's version history independently.

I don't think you understand the meaning of "merge conflict", then. A
merge conflict is when you cannot simply merge the changes. If the
changes are on separate files, neither git nor hg will find this to be
a conflict, and the merge will happen automatically. Alternatively,
you can rebase rather than merging (git's term; Mercurial has a
similar concept for saying "put my private changes on top of the
history", but I can't remember the name), which again will succeed
automatically if the changes are to different files. Even better, the
merge/rebase will generally succeed even if the changes are to the
same file, as long as they're to different parts of it.

Play to a tool's strengths rather than its weaknesses, and you'll find
life a lot less frustrating. I'm fairly sure you could use the same
workflow with git as you were accustomed to with Teamware, only with a
few different names for things. And most likely Mercurial too, but
again, there'll be different names. Maybe you'll use branches for what
you used to use forks for, or maybe you'll have multiple clones of the
same repository, or maybe some other arrangement. Get to know some of
the myriad ways you can use modern source control systems, and find a
workflow that suits you.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: We will be moving to GitHub Chris Angelico <rosuav@gmail.com> - 2016-01-02 07:09 +1100
  Re: We will be moving to GitHub Steven D'Aprano <steve@pearwood.info> - 2016-01-02 17:43 +1100
    Re: We will be moving to GitHub Chris Angelico <rosuav@gmail.com> - 2016-01-02 18:12 +1100
    Re: We will be moving to GitHub Marko Rauhamaa <marko@pacujo.net> - 2016-01-02 11:48 +0200
      Re: We will be moving to GitHub Chris Angelico <rosuav@gmail.com> - 2016-01-02 21:29 +1100
        Re: We will be moving to GitHub Marko Rauhamaa <marko@pacujo.net> - 2016-01-02 13:22 +0200
          Re: We will be moving to GitHub Chris Angelico <rosuav@gmail.com> - 2016-01-02 22:40 +1100
            Re: We will be moving to GitHub Marko Rauhamaa <marko@pacujo.net> - 2016-01-02 16:26 +0200
              Re: We will be moving to GitHub Chris Angelico <rosuav@gmail.com> - 2016-01-03 01:38 +1100
                Re: We will be moving to GitHub Marko Rauhamaa <marko@pacujo.net> - 2016-01-02 16:52 +0200
                Re: We will be moving to GitHub Chris Angelico <rosuav@gmail.com> - 2016-01-03 02:12 +1100
                Re: We will be moving to GitHub Marko Rauhamaa <marko@pacujo.net> - 2016-01-03 02:33 +0200
                Re: We will be moving to GitHub Chris Angelico <rosuav@gmail.com> - 2016-01-03 11:42 +1100
                Re: We will be moving to GitHub Marko Rauhamaa <marko@pacujo.net> - 2016-01-03 03:14 +0200
                Re: We will be moving to GitHub m <mvoicem@gmail.com> - 2016-01-04 11:13 +0100
                Re: We will be moving to GitHub Marko Rauhamaa <marko@pacujo.net> - 2016-01-04 13:28 +0200
      Re: We will be moving to GitHub Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-01-04 23:53 +0100
    Re: We will be moving to GitHub Tim Chase <python.list@tim.thechases.com> - 2016-01-02 06:58 -0600
    Re: We will be moving to GitHub Michael Torrie <torriem@gmail.com> - 2016-01-02 20:24 -0700

csiph-web