##// END OF EJS Templates
largefiles: don't use 'r' action for standin that doesn't exist...
Martin von Zweigbergk -
r23493:28f01c31 default
parent child Browse files
Show More
@@ -444,7 +444,12 b' def overridecalculateupdates(origfn, rep'
444 actions['r'].append((lfile, None, 'replaced by standin'))
444 actions['r'].append((lfile, None, 'replaced by standin'))
445 newglist.append((standin, (p2.flags(standin),), msg))
445 newglist.append((standin, (p2.flags(standin),), msg))
446 else: # keep local normal file
446 else: # keep local normal file
447 actions['r'].append((standin, None, 'replaced by non-standin'))
447 if branchmerge:
448 actions['k'].append((standin, None,
449 'replaced by non-standin'))
450 else:
451 actions['r'].append((standin, None,
452 'replaced by non-standin'))
448 elif lfutil.standin(f) in p1 and lfutil.standin(f) not in removes:
453 elif lfutil.standin(f) in p1 and lfutil.standin(f) not in removes:
449 # Case 2: largefile in the working copy, normal file in
454 # Case 2: largefile in the working copy, normal file in
450 # the second parent
455 # the second parent
@@ -42,9 +42,7 b' Normal file in the working copy, keeping'
42 $ echo "n" | hg merge --config ui.interactive=Yes
42 $ echo "n" | hg merge --config ui.interactive=Yes
43 remote turned local normal file foo into a largefile
43 remote turned local normal file foo into a largefile
44 use (l)argefile or keep (n)ormal file? n
44 use (l)argefile or keep (n)ormal file? n
45 getting changed largefiles
45 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
46 0 largefiles updated, 0 removed
47 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
48 (branch merge, don't forget to commit)
46 (branch merge, don't forget to commit)
49
47
50 $ hg status
48 $ hg status
@@ -302,9 +300,7 b' Ancestor: normal Parent: normal2 Paren'
302 use (c)hanged version or (d)elete? c
300 use (c)hanged version or (d)elete? c
303 remote turned local normal file f into a largefile
301 remote turned local normal file f into a largefile
304 use (l)argefile or keep (n)ormal file? n
302 use (l)argefile or keep (n)ormal file? n
305 getting changed largefiles
303 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
306 0 largefiles updated, 0 removed
307 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
308 (branch merge, don't forget to commit)
304 (branch merge, don't forget to commit)
309 $ cat f
305 $ cat f
310 normal2
306 normal2
General Comments 0
You need to be logged in to leave comments. Login now