forked from yousseb/meld
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvc-mode.page
More file actions
243 lines (226 loc) · 6.42 KB
/
Copy pathvc-mode.page
File metadata and controls
243 lines (226 loc) · 6.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
<page xmlns="http://projectmallard.org/1.0/"
type="topic"
id="vc-mode">
<info>
<title type="sort">0</title>
<link type="guide" xref="index#vc-mode"/>
<revision docversion="1.6" status="draft"/>
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
<credit type="author copyright">
<name>Kai Willadsen</name>
<email>kai.willadsen@gmail.com</email>
<years>2012</years>
</credit>
</info>
<title>Viewing version-controlled files</title>
<p>
<app>Meld</app> integrates with <link xref="vc-supported">many version
control systems</link> to let you review local changes and perform
simple version control tasks. You can start a new version control
comparison by selecting the
<guiseq><gui style="menu">File</gui><gui style="menuitem">New...</gui></guiseq>
menu item, and clicking on the <gui style="tab">Version Control</gui>
tab.
</p>
<section id="vc-mode-overview">
<title>Version control comparisons</title>
<p>
Version control comparisons show the differences between the contents
of your folder and the current repository version. Each file in your
local copy has a <link xref="#vc-state">state</link> that indicates
how it differs from the repository copy.
</p>
<comment>
<cite date="2012-06-04" href="mailto:kai.willadsen@gmail.com">Kai</cite>
<p>
Interacting with VC systems should have its own page.
</p>
</comment>
<p>
If you want to look at a particular file's differences, you can select
it and press <key>Enter</key>, or double-click the file to start a
<link xref="file-mode">file comparison</link>. You can also interact
with your version control system using the
<gui style="menu">Changes</gui> menu.
</p>
</section>
<section id="vc-state">
<title>Version control states</title>
<p>
Each file or folder in a version control comparison has a <em>state</em>,
obtained from the version control system itself. <app>Meld</app> maps
these different states into a standard set of very similar concepts.
As such, <app>Meld</app> might use slightly different names for states
than your version control system does. The possible states are:
</p>
<comment>
<cite date="2012-06-04" href="mailto:kai.willadsen@gmail.com">Kai</cite>
<p>
The following table would be much more effective if we could style
entries in the Appearance column to show what they would actually
look like.
</p>
<p>
Ideally we would pull these colours and other details from the
theme/gtkrc, but even an illustration of the default would help a lot.
</p>
</comment>
<table frame="top bottom">
<title>Version control states</title>
<thead>
<tr>
<td><p>State</p></td>
<td><p>Appearance</p></td>
<td><p>Meaning</p></td>
</tr>
</thead>
<tbody>
<tr>
<td><p>Same</p></td>
<td>
<p>
Normal font
<!-- <file>file.txt</file>-->
</p>
</td>
<td>
<p>
The file/folder is the same as the repository version.
</p>
</td>
</tr>
<tr>
<td><p>Modified</p></td>
<td>
<p>
Red and bold
<!-- <file style="color: #880000; font-weight: bold">file.txt</file>-->
</p>
</td>
<td>
<p>
This file is different to the repository version.
</p>
</td>
</tr>
<tr>
<td><p>New</p></td>
<td>
<p>
Green and bold
<!-- <file style="color: #008800; font-weight: bold">file.txt</file>-->
</p>
</td>
<td>
<p>
This file/folder is new, and is scheduled to be added to
the repository.
</p>
</td>
</tr>
<tr>
<td><p>Removed</p></td>
<td>
<p>
Red bold text with a line through the middle
<!-- <file style="color: #880000; text-decoration: line-through;">file.txt</file>-->
</p>
</td>
<td>
<p>
This file/folder existed, but is scheduled to be removed from
the repository.
</p>
</td>
</tr>
<tr>
<td><p>Conflict</p></td>
<td>
<p>
Bright red bold text
<!-- <file style="color: #ff0000; text-weight: bold;">file.txt</file>-->
</p>
</td>
<td>
<p>
When trying to merge with the repository, the differences between
the local file and the repository could not be resolved, and the
file is now in conflict with the repository contents
</p>
</td>
</tr>
<tr>
<td><p>Missing</p></td>
<td>
<p>
Blue bold text with a line through the middle
<!-- <file style="color: #000088; text-weight: bold; text-decoration: line-through;">file.txt</file>-->
</p>
</td>
<td>
<p>
This file/folder should be present, but isn't.
</p>
</td>
</tr>
<tr>
<td><p>Ignored</p></td>
<td>
<p>
Greyed out text
<!-- <file style="color: #888888;">file.txt</file>-->
</p>
</td>
<td>
<p>
This file/folder has been explicitly ignored (e.g., by an entry
in <file>.gitignore</file>) and is not being tracked by version
control.
</p>
</td>
</tr>
<tr>
<td><p>Unversioned</p></td>
<td>
<p>
Greyed out text
<!-- <file style="color: #888888;">file.txt</file>-->
</p>
</td>
<td>
<p>
This file is not in the version control system; it is only in
the local copy.
</p>
</td>
</tr>
<tr>
<td><p>Error</p></td>
<td>
<p>
Bright red with a yellow background and bold
<!-- <file style="color: #ff0000; background-color: yellow; font-weight: bold">file.txt</file>-->
</p>
</td>
<td>
<p>
The version control system has reported a problem with this file.
</p>
</td>
</tr>
</tbody>
</table>
</section>
<section id="vc-state-filtering">
<title>Version control state filtering</title>
<p>
Most often, you will only want to see files that are identified as being
in some way different; this is the default setting in <app>Meld</app>.
You can change which file states you see by using the
<guiseq><gui style="menu">View</gui><gui style="menuitem">Version Status</gui></guiseq>
menu, or by clicking the corresponding <gui style="button">Modified</gui>,
<gui style="button">Normal</gui>, <gui style="button">Unversioned</gui> and
<gui style="button">Ignored</gui> buttons on the toolbar.
</p>
</section>
</page>