Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'repository': 0.05; 'subject:Question': 0.07; 'committing': 0.09; 'git': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:Source': 0.09; 'whichever': 0.09; 'jan': 0.12; '*before*': 0.16; 'attempt.': 0.16; 'blocks': 0.16; 'losing': 0.16; 'pathnames': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'stumbling': 0.16; 'wrote:': 0.18; 'machine': 0.22; 'header:User-Agent:1': 0.23; 'push': 0.26; 'least': 0.26; 'somewhere': 0.26; 'header:X -Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'on,': 0.29; 'work.': 0.31; 'code': 0.31; 'directory,': 0.31; 'once,': 0.31; 'file': 0.32; 'running': 0.33; 'there,': 0.34; 'could': 0.34; 'problem': 0.35; 'test': 0.35; 'but': 0.35; 'done': 0.36; 'should': 0.36; 'machines': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'previous': 0.38; 'to:addr:python.org': 0.39; 'enough': 0.39; 'system.': 0.39; 'either': 0.39; 'received:org': 0.40; 'commands': 0.60; 'received:173': 0.61; "you're": 0.61; 'kind': 0.63; 'become': 0.64; 'different': 0.65; 'close': 0.67; 'frank': 0.68; 'received:fios.verizon.net': 0.84; 'subject:Control': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Question about Source Control Date: Tue, 18 Mar 2014 21:38:06 -0400 References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-173-75-254-207.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 In-Reply-To: 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: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1395193104 news.xs4all.nl 2893 [2001:888:2000:d::a6]:39821 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:68532 On 3/18/2014 5:51 PM, Gregory Ewing wrote: > Frank Millman wrote: >> These are the kind of stumbling blocks that prevented me from >> succeeding in my previous attempt. I have a vague recollection that I >> set it up on machine A, but then hit a problem because machines B and >> C both accessed the same directory, but with different names > > For dealing with your practice of editing on one machine and > running on another, you may be best off having just *one* local > repository, residing on the shared file system. Whichever machine > you're working on, you cd to the shared directory and use hg or > git commands from there, so all the pathnames you're using are > relative. At least with hg, one should best test the code in the working directory *before* committing to the local repository. The one local repository could still be a close of a master repository somewhere else. One can push multiple commits at once, either as the end of a work session or when one has done enough to become paranoid about losing work. -- Terry Jan Reedy