# HG changeset patch # User Arne Babenhauserheide # Date 1241178963 -7200 # Node ID 59b5985db58a7ce2aebce52c6a78033c6d4e3203 # Parent 77b10482cc479cd94a45d37ec0ee3f1ada861196 learning in workflows: added 'incoming' diff -r 77b10482cc47 -r 59b5985db58a text/learning_mercurial_in_workflows.txt --- a/text/learning_mercurial_in_workflows.txt Fri May 01 13:55:17 2009 +0200 +++ b/text/learning_mercurial_in_workflows.txt Fri May 01 13:56:03 2009 +0200 @@ -155,7 +155,16 @@ $ hg clone project feature1 $ cd feature1 $ (do some changes and commits) + +$ Now check what will come in when you pull from feature1, just like you can use "diff" before committing + $ cd ../project +$ hg incoming ../feature1 + +Note: If you want to see the diffs, you can use "hg incoming --patch" just as you can do with "hg log --patch" for the changes in the repository. + +If you like the changes, you pull them into the project + $ hg pull ../feature1 Now you have the history of feature1 inside your project, but they aren't yet visible. Instead they are only stored inside the .hg directory inside the project.