Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Ian Collins Newsgroups: comp.programming Subject: Re: programmer's keyboard Date: Mon, 31 Dec 2012 13:00:05 +1300 Lines: 67 Message-ID: References: <150e1c64-726a-43cc-82f9-a52c81a2e8ce@googlegroups.com> <_sWdnYhcjvIJl0LNnZ2dnUVZ8sadnZ2d@bt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net 3a20wofiJ/BYBVNgDQAIcwaKVG7yH6WZJaiR1xtccp4Blz0v07rFows+X6wDIOQOMp Cancel-Lock: sha1:rta0OUkSc198peKiKZwmdeLqE9U= User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: Xref: csiph.com comp.programming:2703 BGB wrote: > On 12/30/2012 2:36 PM, Ian Collins wrote: >> BGB wrote: >>> On 12/30/2012 12:12 PM, Rui Maciel wrote: >>>> >>>> You can use version control systems to manage local projects, without >>>> having >>>> to transfer any data through a network. You can also copy the whole >>>> project >>>> around, versioned data and all. >>>> >>> >>> granted, but it isn't really all that clear if/how it is worth the >>> hassle of doing so. >> >> The "hassle" of typing "hg commit" once in a while is far outweighed by >> the convenience of being able to type "hg revert" when you break something. >> > > or, a person can be systematic, and manually revert the last changes > they made (this being a big win for "#if 0" and "#if 1") > > or, maybe just hit CTRL-Z a few times (if the breaking change was recent). > > if by some chance they really screw up, copy/paste files from an older > version. So that's all less hassle than "hg revert"? >> As for copying, with Mercurial at least, everything in in the source >> directory, so there's no additional effort required. Because you don't >> have all those dated directories floating around, where's way less data >> to copy. >> >> The convenience of being able to use ssh to clone and synchronise >> between hosts and devices is a big win. >> > > you can also transfer things using, say, FTP, or network shares (if on a > LAN). (granted, yes, a person needs an FTP server for the FTP route). Share maybe, but handle merging? Branches? > an advantage of FTP is that (at least via Windows Explorer) it also > supports copy/paste and drag-and-drop (of both files and folders). There's a whole big world outside the windows. > meanwhile, SSH is only really useful if the other end is running Linux, Nonsense, ssh is useful out of the box in most decent operating systems and probably windows too with the appropriate package. > and requires using tools like PuTTY or similar (or, at least, the > version included with my current install of Cygwin just says "openssl > failed to initialize"). > > as-is though, both my main computer and web-server are running Windows... So share your repository via http(s)! You can use Tortoise HG to pull from or push to remote repositories on windows. You should try it (or Tortoise SVN) some time, it is an excellent application. -- Ian Collins