##// END OF EJS Templates
largefiles: use 'remote'/'local' in merge prompts like in other merge prompts...
Mads Kiilerich -
r19967:e92c6524 stable
parent child Browse files
Show More
@@ -387,8 +387,8 b' def overridemanifestmerge(origfn, repo, '
387 # the second parent
387 # the second parent
388 lfile = splitstandin
388 lfile = splitstandin
389 standin = f
389 standin = f
390 msg = _('%s has been turned into a largefile\n'
390 msg = _('remote turned local normal file %s into a largefile\n'
391 'use (l)argefile or keep as (n)ormal file?'
391 'use (l)argefile or keep (n)ormal file?'
392 '$$ &Largefile $$ &Normal file') % lfile
392 '$$ &Largefile $$ &Normal file') % lfile
393 if repo.ui.promptchoice(msg, 0) == 0:
393 if repo.ui.promptchoice(msg, 0) == 0:
394 processed.append((lfile, "r", None, msg))
394 processed.append((lfile, "r", None, msg))
@@ -401,8 +401,8 b' def overridemanifestmerge(origfn, repo, '
401 # the second parent
401 # the second parent
402 standin = lfutil.standin(f)
402 standin = lfutil.standin(f)
403 lfile = f
403 lfile = f
404 msg = _('%s has been turned into a normal file\n'
404 msg = _('remote turned local largefile %s into a normal file\n'
405 'keep as (l)argefile or use (n)ormal file?'
405 'keep (l)argefile or use (n)ormal file?'
406 '$$ &Largefile $$ &Normal file') % lfile
406 '$$ &Largefile $$ &Normal file') % lfile
407 if repo.ui.promptchoice(msg, 0) == 0:
407 if repo.ui.promptchoice(msg, 0) == 0:
408 processed.append((lfile, "r", None, msg))
408 processed.append((lfile, "r", None, msg))
@@ -28,8 +28,8 b' Create the repository outside $HOME sinc'
28 Normal file in the working copy, keeping the normal version:
28 Normal file in the working copy, keeping the normal version:
29
29
30 $ echo "n" | hg merge --config ui.interactive=Yes
30 $ echo "n" | hg merge --config ui.interactive=Yes
31 foo has been turned into a largefile
31 remote turned local normal file foo into a largefile
32 use (l)argefile or keep as (n)ormal file? 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
32 use (l)argefile or keep (n)ormal file? 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
33 (branch merge, don't forget to commit)
33 (branch merge, don't forget to commit)
34 getting changed largefiles
34 getting changed largefiles
35 0 largefiles updated, 0 removed
35 0 largefiles updated, 0 removed
@@ -42,8 +42,8 b' Normal file in the working copy, keeping'
42
42
43 $ hg update -q -C
43 $ hg update -q -C
44 $ echo "l" | hg merge --config ui.interactive=Yes
44 $ echo "l" | hg merge --config ui.interactive=Yes
45 foo has been turned into a largefile
45 remote turned local normal file foo into a largefile
46 use (l)argefile or keep as (n)ormal file? 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
46 use (l)argefile or keep (n)ormal file? 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
47 (branch merge, don't forget to commit)
47 (branch merge, don't forget to commit)
48 getting changed largefiles
48 getting changed largefiles
49 1 largefiles updated, 0 removed
49 1 largefiles updated, 0 removed
@@ -70,8 +70,8 b' Largefile in the working copy, keeping t'
70
70
71 $ hg update -q -C -r 1
71 $ hg update -q -C -r 1
72 $ echo "n" | hg merge --config ui.interactive=Yes
72 $ echo "n" | hg merge --config ui.interactive=Yes
73 foo has been turned into a normal file
73 remote turned local largefile foo into a normal file
74 keep as (l)argefile or use (n)ormal file? 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
74 keep (l)argefile or use (n)ormal file? 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
75 (branch merge, don't forget to commit)
75 (branch merge, don't forget to commit)
76 getting changed largefiles
76 getting changed largefiles
77 0 largefiles updated, 0 removed
77 0 largefiles updated, 0 removed
@@ -98,8 +98,8 b' Largefile in the working copy, keeping t'
98
98
99 $ hg update -q -C -r 1
99 $ hg update -q -C -r 1
100 $ echo "l" | hg merge --config ui.interactive=Yes
100 $ echo "l" | hg merge --config ui.interactive=Yes
101 foo has been turned into a normal file
101 remote turned local largefile foo into a normal file
102 keep as (l)argefile or use (n)ormal file? 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
102 keep (l)argefile or use (n)ormal file? 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
103 (branch merge, don't forget to commit)
103 (branch merge, don't forget to commit)
104 getting changed largefiles
104 getting changed largefiles
105 1 largefiles updated, 0 removed
105 1 largefiles updated, 0 removed
@@ -219,8 +219,8 b' Ancestor: normal Parent: normal2 Paren'
219 $ hg merge -r large
219 $ hg merge -r large
220 local changed f which remote deleted
220 local changed f which remote deleted
221 use (c)hanged version or (d)elete? c
221 use (c)hanged version or (d)elete? c
222 f has been turned into a largefile
222 remote turned local normal file f into a largefile
223 use (l)argefile or keep as (n)ormal file? l
223 use (l)argefile or keep (n)ormal file? l
224 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
224 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
225 (branch merge, don't forget to commit)
225 (branch merge, don't forget to commit)
226 getting changed largefiles
226 getting changed largefiles
@@ -231,8 +231,8 b' Ancestor: normal Parent: normal2 Paren'
231 $ hg up -Cqr normal2
231 $ hg up -Cqr normal2
232 $ ( echo c; echo n ) | hg merge -r large --config ui.interactive=Yes
232 $ ( echo c; echo n ) | hg merge -r large --config ui.interactive=Yes
233 local changed f which remote deleted
233 local changed f which remote deleted
234 use (c)hanged version or (d)elete? f has been turned into a largefile
234 use (c)hanged version or (d)elete? remote turned local normal file f into a largefile
235 use (l)argefile or keep as (n)ormal file? 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
235 use (l)argefile or keep (n)ormal file? 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
236 (branch merge, don't forget to commit)
236 (branch merge, don't forget to commit)
237 getting changed largefiles
237 getting changed largefiles
238 0 largefiles updated, 0 removed
238 0 largefiles updated, 0 removed
@@ -255,8 +255,8 b' swap'
255 $ hg merge -r normal2
255 $ hg merge -r normal2
256 remote changed f which local deleted
256 remote changed f which local deleted
257 use (c)hanged version or leave (d)eleted? c
257 use (c)hanged version or leave (d)eleted? c
258 f has been turned into a normal file
258 remote turned local largefile f into a normal file
259 keep as (l)argefile or use (n)ormal file? l
259 keep (l)argefile or use (n)ormal file? l
260 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
260 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
261 (branch merge, don't forget to commit)
261 (branch merge, don't forget to commit)
262 getting changed largefiles
262 getting changed largefiles
@@ -267,8 +267,8 b' swap'
267 $ hg up -Cqr large
267 $ hg up -Cqr large
268 $ ( echo c; echo n ) | hg merge -r normal2 --config ui.interactive=Yes
268 $ ( echo c; echo n ) | hg merge -r normal2 --config ui.interactive=Yes
269 remote changed f which local deleted
269 remote changed f which local deleted
270 use (c)hanged version or leave (d)eleted? f has been turned into a normal file
270 use (c)hanged version or leave (d)eleted? remote turned local largefile f into a normal file
271 keep as (l)argefile or use (n)ormal file? 2 files updated, 0 files merged, 1 files removed, 0 files unresolved
271 keep (l)argefile or use (n)ormal file? 2 files updated, 0 files merged, 1 files removed, 0 files unresolved
272 (branch merge, don't forget to commit)
272 (branch merge, don't forget to commit)
273 getting changed largefiles
273 getting changed largefiles
274 0 largefiles updated, 0 removed
274 0 largefiles updated, 0 removed
@@ -312,8 +312,8 b' Ancestor: large Parent: large2 Paren'
312 $ hg merge -r normal
312 $ hg merge -r normal
313 local changed .hglf/f which remote deleted
313 local changed .hglf/f which remote deleted
314 use (c)hanged version or (d)elete? c
314 use (c)hanged version or (d)elete? c
315 f has been turned into a normal file
315 remote turned local largefile f into a normal file
316 keep as (l)argefile or use (n)ormal file? l
316 keep (l)argefile or use (n)ormal file? l
317 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
317 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
318 (branch merge, don't forget to commit)
318 (branch merge, don't forget to commit)
319 getting changed largefiles
319 getting changed largefiles
@@ -337,8 +337,8 b' swap'
337 $ hg merge -r large2
337 $ hg merge -r large2
338 remote changed .hglf/f which local deleted
338 remote changed .hglf/f which local deleted
339 use (c)hanged version or leave (d)eleted? c
339 use (c)hanged version or leave (d)eleted? c
340 f has been turned into a largefile
340 remote turned local normal file f into a largefile
341 use (l)argefile or keep as (n)ormal file? l
341 use (l)argefile or keep (n)ormal file? l
342 2 files updated, 0 files merged, 1 files removed, 0 files unresolved
342 2 files updated, 0 files merged, 1 files removed, 0 files unresolved
343 (branch merge, don't forget to commit)
343 (branch merge, don't forget to commit)
344 getting changed largefiles
344 getting changed largefiles
General Comments 0
You need to be logged in to leave comments. Login now