How to "push" manually?

Arne Babenhauserheide arne_bab at web.de
Mon Apr 6 07:48:50 CDT 2009


Am Montag 06 April 2009 04:55:00 schrieb skip at pobox.com:
> This has been an extraordinarily frustrating exercise for me.  Thank you
> for all the help (and patience).

I'm sorry that Trying Mercurial was frustrating for you :( 

I think there's a lesson to be learned here: 

When someone states "I just started using Mercurial" or cites some basic 
problems, then do as Matt asked us to do a few weeks back: 


	Don't talk about extensions, when the problem can be solved without them.


@skip: When you've been using Mercurial for some time, many things become 
second nature, so it's sometimes hard to remember that its basic concepts are 
quite revolutionary compared to Subversion. 

Please don't let that intimidate you. Mercurial is damn powerful, even if you 
just use the basics (init, commit, log, pull, push, serve, merge). And the 
basics are very easy to use, once you see the model behind that: Each 
repository has the whole history, and history is not necessarily linear. 

Just stick to these and learn the rest of its commands as you need them. 

As a short intro: 

- init: create a new repository
- commit: save your changes in the current repository
- log: see all changes in your repository
- pull: get all changes from another repository int the current one
- push: get all changes from your repository into another one
- serve: create an instant-webserver. People can see the history there and 
pull from it
- merge: join different lines of history

If you want to see a nice graph of the history, just do "hg serve" in your 
repository and then direct your browser to 

	http://127.0.0.1:8000

This also helps getting a feeling for what the commands do. 

(you can do more finegrained stuff with command optins. Just call "hg help 
<command>" to see them). 


I hope your experience with Mercurial will be a better one from now on! 


@dsop and jespern (in case you're reading this): For hg-scm.org we should 
split the tips into "basic tips" and "advanced stuff", so we don't tease 
people into using potentially dangerous commands. 

Best wishes, 
Arne
-- 
-- Ein Würfel System: http://1w6.org - einfach saubere (Rollenspiel-) Regeln.
-- Infinite Hands: http://infinite-hands.draketo.de - singing a part of the 
history of free software.
-- My stuff: http://draketo.de - stories, songs, poems, programs and stuff :)

-- PGP/GnuPG: http://draketo.de/inhalt/ich/pubkey.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://selenic.com/pipermail/mercurial/attachments/20090406/94b6b9fa/attachment.pgp 


More information about the Mercurial mailing list