what do I need to learn to do this task?

Justinas Urbanavicius justinasu at gmail.com
Tue May 13 06:08:08 UTC 2014


well each of repository is already a backup by itself, and i don't think
you have to learn anything special. hg serve command shows you what ip/host
your server is running on so you just need to write it into your config.

either way i think you are using mercurial as a backup tool more than a
version control, some people like to do commits, paranoiacally as often as
using save in word :) but i don't think it's a good practice, each commit
should be meaningful, a change that reflects something


On Tue, May 13, 2014 at 8:55 AM, Michael Mossey <michaelmossey at gmail.com>wrote:

> On 5/12/2014 10:25 PM, Justinas Urbanavicius wrote:
>
>> you can push and pull between your laptop and your desktop, without the
>> bitbucket server. Although this won't eliminate long list of commits it
>> will prevent unfinished work to get out to the main server.
>>
>> you could try the following workflow
>> mercurial has an integrated server just run hg serve
>> in your repository on desktop .hg/hgrc define a path laptop =
>> http://your_laptop_ip:8000/
>>
>> do the same on your laptop, but at the path to your desktop =
>> http://your_desktop_ip:8000/
>>
>> when you want to switch to laptop from desktop commit changes and run "hg
>> push laptop" (the hg serve needs to be running, you can use hg serve -b to
>> run it in background, if you switch a lot, but not recommended especially
>> if you plan to work outside the office) and the changes will be pushed to
>> your repository on a laptop. the same goes when switching back to desktop,
>> i think you get the picture.
>>
>> if you run hg push (or hg push default) it will push to the main server
>> you cloned the repository from, so when you done your work and ready to
>> share with co worker just push to the main server.
>>
>>
> But I want to use Bitbucket as a way of backing up changes, so I don't
> want to push and pull directly between the laptop and desktop. Also I don't
> want to get into Window LAN stuff--I don't understand it, and I have too
> much other important stuff to do than to learn Windows networking.
>
>
> Mike
>
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>



-- 
Justinas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20140513/b1b21b1b/attachment-0002.html>


More information about the Mercurial mailing list