Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3a.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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'repository': 0.05; '*not*': 0.07; 'puts': 0.07; 'subject:Question': 0.07; 'mercurial': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'remotely,': 0.09; 'subject:Source': 0.09; 'windows,': 0.09; 'wrote': 0.14; '4:39': 0.16; 'ahead,': 0.16; 'attempt.': 0.16; 'blocks': 0.16; 'mapped': 0.16; 'mercurial,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'skip:n 70': 0.16; 'ssh': 0.16; 'stumbling': 0.16; 'wrote:': 0.18; 'server,': 0.19; 'version.': 0.19; 'command': 0.22; 'machine': 0.22; 'separate': 0.22; 'install': 0.23; 'directory.': 0.24; 'lets': 0.24; 'source': 0.25; 'header:X-Complaints-To:1': 0.27; 'appreciated.': 0.29; 'agreements': 0.30; 'code': 0.31; 'directory,': 0.31; 'run': 0.32; 'quite': 0.32; 'linux': 0.33; 'running': 0.33; 'sense': 0.34; 'could': 0.34; 'problem': 0.35; 'basic': 0.35; 'but': 0.35; 'installing': 0.36; 'so,': 0.37; 'two': 0.37; 'machines': 0.38; 'work?': 0.38; 'to:addr:python- list': 0.38; 'pm,': 0.38; 'previous': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'free': 0.61; 'first': 0.61; 'name': 0.63; 'kind': 0.63; 'central': 0.64; 'provide': 0.64; 'more': 0.64; 'different': 0.65; 'kept': 0.65; 'assistance': 0.66; 'license': 0.66; 'latest': 0.67; 'mar': 0.68; 'frank': 0.68; 'everywhere.': 0.84; 'nfs': 0.84; 'subject:Control': 0.84; 'suited': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: "Frank Millman" Subject: Re: Question about Source Control Date: Tue, 18 Mar 2014 08:42:13 +0200 References: X-Gmane-NNTP-Posting-Host: 197.87.50.23 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.3790.4657 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4913 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: 50 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1395124947 news.xs4all.nl 2911 [2001:888:2000:d::a6]:51168 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:68483 "Chris Angelico" wrote in message news:CAPTjJmqHXh2M3-QGbeLV_AkGAJzMEYmbuDLy8_dkpnhrpSUVMQ@mail.gmail.com... > On Tue, Mar 18, 2014 at 4:39 PM, Frank Millman wrote: >> Two quick questions - >> >> 1. At present the source code is kept on one machine (A), but only >> accessed >> from the two other machines (B and C). >> >> Does it make sense to create the central repository on A, but *not* >> install >> the SCM on A? Install separate copies of the SCM on B and C, and allow >> them >> both to set up their own clones. I only develop on B, so only B would >> 'push', but both B and C would 'pull' to get the latest version. > > I don't know about Mercurial, but with git, installing the software on > A lets it work more efficiently (otherwise it has to do all the work > remotely, ergo unnecessary traffic). Advantage of free software is > that you don't have to check license agreements - just go ahead, > install it everywhere. But if for some reason that would be a problem, > you can look into running it over basic SSH or something. > Excuse my ignorance, but how does it actually work? Do you set up some kind of client/server relationship, and if so, how do the clients (machines B and C) access the software on machine A? I know that Mercurial can run its own web server, and clients can access it through http. It that what you are suggesting? That would be quite a change for me, as on my linux box I do all my work from the command line on a console. 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 - on Windows, a mapped drive and on linux a mounted nfs directory. I had to provide a 'path' name to set up Mercurial in the first place, but I could not find one that suited both clients. I feel that I have just not grasped the basics yet, so any assistance that puts me on the right path is appreciated. Frank