comparison help/a-34.html @ 578:2c106ea908b5

Add Help topic for remembering password; update CHANGELOG
author Chris Cannam
date Wed, 07 Mar 2012 14:23:56 +0000
parents 06507a59f2b8
children
comparison
equal deleted inserted replaced
576:cc62862d21a4 578:2c106ea908b5
1 <link rel="stylesheet" type="text/css" href="help.css"/> 1 <link rel="stylesheet" type="text/css" href="help.css"/>
2 2
3 3
4 <h2>How do I use the Merge window?</h2> 4 <h2>Every time I push some changes, I have to type my password again</h2>
5 5
6 <p>If you are working with other people on a project, it is likely that 6 <p>When you push to a remote repository with an &ldquo;https:" prefix on its
7 at some point you'll find that more than one of you have edited the 7 URL, EasyMercurial's password dialog should ask whether you want to
8 same lines in the same file, in different ways.</p> 8 remember your login details.</p>
9 9
10 <p>When that happens and you try to merge the two versions, EasyMercurial 10 <p>If you say yes, the details will be stored until EasyMercurial
11 will pop up a merge window that looks a bit like this.</p> 11 exits&mdash;so you won't have to enter them if you push or pull again
12 while the present EasyMercurial session is running. Your password will
13 be stored, encrypted with a session key, in a file which is deleted
14 when EasyMercurial exits.</p>
12 15
13 <p><center><img src="images/merge50.png"></center></p> 16 <p><b>If this option does not appear</b></p>
14 17
15 <p>(This is actually a separate program, not part of EasyMercurial: it's 18 <p>... and if you're using OS/X, then you need to install the PyCrypto
16 a merge tool called kdiff3.)</p> 19 library before EasyMercurial will be able to store encrypted passwords
20 for you.</p>
17 21
18 <p>This looks a bit complicated, but it is there to help you pick which 22 <p>Try running <code>sudo easy_install pycrypto</code> in a terminal window.</p>
19 of the changes from each of the two &ldquo;rival&rdquo; versions of the file you
20 want to use in your merged version.</p>
21 23
22 <p> <b>The top middle one is <i>your current version</i>.</b> That's 24 <p><b>Not using an https repository?</b></p>
23 the one you had before you decided to merge the other version into
24 it.</p>
25 25
26 <p> <b>At top right is <i>the version you're merging</i>.</b> That's the other 26 <p>If your remote repository uses ssh or some other protocol, then
27 rival version &ndash; the one that the other person can see in their copy 27 EasyMercurial won't be able to help. You might consider using ssh
28 of the repository.</p> 28 public key authentication and an ssh agent&mdash;talk to the admin of your
29 remote repository for more details.</p>
29 30
30 <p> <b>At top left is <i>the common ancestor</i>.</b> That's the version that both
31 of you had, before you started editing it in different ways.</p>
32
33 <p> <b>At the bottom is the output.</b></p>
34
35 <p>Each <i>conflict</i> (a line which you have both changed in different ways)
36 is shown with <b>Merge Conflict</b> in the output at the bottom. To sort
37 out the conflicts and get the right output, you need to go through
38 them one by one, for each one pressing the A, B, or C button to say
39 whether for this line you want the top-left, top-middle, or top-right
40 version to &ldquo;win&rdquo;. (You can choose more than one, if you want both
41 versions of a line to appear.)</p>
42
43 <p>Then having resolved a conflict, press the three-arrows-down toolbar
44 button to go to the next one &ndash; and when you've done them all, save
45 and exit.</p>
46
47 <p>The most important thing to remember is that <i>whatever appears in the
48 bottom pane is what you'll get as a result</i>.</p>
49
50 <p>No matter how confusing the process, just remember that if it looks
51 correct in the bottom pane, it will be correct when you save and
52 exit. You can even edit the file directly in the bottom pane if you
53 aren't happy with the way the merge is going.</p>
54
55
56
57