Artifact
c7e406f7d239d9b0fc49742c8bedaf0029670506:
Ticket change
[c7e406f7d2]
- New ticket [1d50540ec5]
Merging branches with a renamed file.
by
anonymous
2011-02-07 18:31:16.
0000: 44 20 32 30 31 31 2d 30 32 2d 30 37 54 31 38 3a D 2011-02-07T18:
0010: 33 31 3a 31 36 2e 32 30 39 0a 4a 20 63 6f 6d 6d 31:16.209.J comm
0020: 65 6e 74 20 49 66 5c 73 79 6f 75 5c 73 75 70 64 ent If\syou\supd
0030: 61 74 65 5c 73 74 6f 5c 73 61 5c 73 62 72 61 6e ate\sto\sa\sbran
0040: 63 68 5c 73 61 6e 64 5c 73 6d 6f 76 65 5c 73 61 ch\sand\smove\sa
0050: 5c 73 66 69 6c 65 5c 73 74 6f 5c 73 61 5c 73 64 \sfile\sto\sa\sd
0060: 69 72 65 63 74 6f 72 79 5c 73 74 68 61 74 5c 73 irectory\sthat\s
0070: 64 6f 65 73 6e 27 74 5c 73 65 78 69 73 74 5c 73 doesn't\sexist\s
0080: 69 6e 5c 73 74 68 65 5c 73 6d 61 69 6e 6c 69 6e in\sthe\smainlin
0090: 65 5c 73 74 72 65 65 2c 5c 73 61 5c 73 6d 65 72 e\stree,\sa\smer
00a0: 67 65 5c 73 77 69 6c 6c 5c 73 66 61 69 6c 2e 5c ge\swill\sfail.\
00b0: 72 5c 6e 5c 72 5c 6e 49 6e 5c 73 61 5c 73 6e 65 r\n\r\nIn\sa\sne
00c0: 77 5c 73 72 65 70 6f 73 69 74 6f 72 79 5c 73 28 w\srepository\s(
00d0: 69 6e 5c 73 74 63 73 68 28 31 29 3a 5c 73 3c 63 in\stcsh(1):\s<c
00e0: 6f 64 65 3e 61 6c 69 61 73 5c 73 66 73 5c 73 66 ode>alias\sfs\sf
00f0: 6f 73 73 69 6c 3c 2f 63 6f 64 65 3e 29 3a 5c 72 ossil</code>):\r
0100: 5c 6e 5c 72 5c 6e 3c 70 72 65 3e 65 63 68 6f 5c \n\r\n<pre>echo\
0110: 73 22 68 65 6c 6c 6f 22 5c 73 3e 5c 73 62 61 72 s"hello"\s>\sbar
0120: 2e 74 78 74 5c 72 5c 6e 66 73 5c 73 61 64 64 5c .txt\r\nfs\sadd\
0130: 73 62 61 72 2e 74 78 74 5c 72 5c 6e 66 73 5c 73 sbar.txt\r\nfs\s
0140: 63 69 5c 73 2d 6d 5c 73 22 43 72 65 61 74 69 6e ci\s-m\s"Creatin
0150: 67 5c 73 61 5c 73 62 72 61 6e 63 68 22 5c 73 2d g\sa\sbranch"\s-
0160: 2d 62 72 61 6e 63 68 5c 73 72 65 6e 61 6d 65 5f -branch\srename_
0170: 62 75 67 5c 73 62 61 72 2e 74 78 74 5c 72 5c 6e bug\sbar.txt\r\n
0180: 6d 6b 64 69 72 5c 73 66 6f 6f 5c 72 5c 6e 66 73 mkdir\sfoo\r\nfs
0190: 5c 73 6d 76 5c 73 62 61 72 2e 74 78 74 5c 73 66 \smv\sbar.txt\sf
01a0: 6f 6f 2f 62 61 72 2e 74 78 74 5c 72 5c 6e 6d 76 oo/bar.txt\r\nmv
01b0: 5c 73 62 61 72 2e 74 78 74 5c 73 66 6f 6f 2f 62 \sbar.txt\sfoo/b
01c0: 61 72 2e 74 78 74 5c 72 5c 6e 66 73 5c 73 63 69 ar.txt\r\nfs\sci
01d0: 5c 73 2d 6d 5c 73 22 4d 6f 76 65 64 5c 73 62 61 \s-m\s"Moved\sba
01e0: 72 2e 74 78 74 5c 73 74 6f 5c 73 66 6f 6f 2f 22 r.txt\sto\sfoo/"
01f0: 5c 72 5c 6e 66 73 5c 73 75 70 5c 73 6d 61 73 74 \r\nfs\sup\smast
0200: 65 72 5c 72 5c 6e 66 73 5c 73 6d 65 72 67 65 5c er\r\nfs\smerge\
0210: 73 72 65 6e 61 6d 65 5f 62 75 67 3c 2f 70 72 65 srename_bug</pre
0220: 3e 5c 72 5c 6e 5c 72 5c 6e 54 68 65 5c 73 65 78 >\r\n\r\nThe\sex
0230: 70 65 63 74 65 64 5c 73 65 72 72 6f 72 5c 73 6f pected\serror\so
0240: 75 74 70 75 74 5c 73 69 73 3a 5c 72 5c 6e 5c 72 utput\sis:\r\n\r
0250: 5c 6e 3c 70 72 65 3e 66 6f 73 73 69 6c 3a 5c 73 \n<pre>fossil:\s
0260: 53 51 4c 49 54 45 5f 42 55 53 59 3a 5c 73 73 74 SQLITE_BUSY:\sst
0270: 61 74 65 6d 65 6e 74 5c 73 61 62 6f 72 74 73 5c atement\saborts\
0280: 73 61 74 5c 73 32 3a 5c 73 5b 52 4f 4c 4c 42 41 sat\s2:\s[ROLLBA
0290: 43 4b 5d 5c 73 63 61 6e 6e 6f 74 5c 73 72 6f 6c CK]\scannot\srol
02a0: 6c 62 61 63 6b 5c 73 74 72 61 6e 73 61 63 74 69 lback\stransacti
02b0: 6f 6e 5c 73 2d 5c 73 53 51 4c 5c 73 73 74 61 74 on\s-\sSQL\sstat
02c0: 65 6d 65 6e 74 73 5c 73 69 6e 5c 73 70 72 6f 67 ements\sin\sprog
02d0: 72 65 73 73 3c 2f 70 72 65 3e 5c 72 5c 6e 5c 72 ress</pre>\r\n\r
02e0: 5c 6e 49 66 5c 73 79 6f 75 5c 73 70 69 70 65 5c \nIf\syou\spipe\
02f0: 73 74 68 65 5c 73 6d 65 72 67 65 5c 73 74 6f 5c sthe\smerge\sto\
0300: 73 61 5c 73 66 69 6c 65 5c 73 61 6e 64 5c 73 64 sa\sfile\sand\sd
0310: 6f 6e 27 74 5c 73 63 61 70 74 75 72 65 5c 73 73 on't\scapture\ss
0320: 74 64 65 72 72 2c 5c 73 79 6f 75 5c 73 73 68 6f tderr,\syou\ssho
0330: 75 6c 64 5c 73 62 65 5c 73 61 62 6c 65 5c 73 74 uld\sbe\sable\st
0340: 6f 5c 73 73 70 6f 74 5c 73 74 68 65 5c 73 70 72 o\sspot\sthe\spr
0350: 6f 62 6c 65 6d 3a 5c 72 5c 6e 5c 72 5c 6e 3c 70 oblem:\r\n\r\n<p
0360: 72 65 3e 66 6f 73 73 69 6c 3a 5c 73 63 61 6e 6e re>fossil:\scann
0370: 6f 74 5c 73 6f 70 65 6e 5c 73 22 2f 70 72 69 76 ot\sopen\s"/priv
0380: 61 74 65 2f 74 6d 70 2f 66 73 2d 6d 65 72 67 65 ate/tmp/fs-merge
0390: 2d 62 75 67 2f 66 6f 6f 2f 62 61 72 2e 74 78 74 -bug/foo/bar.txt
03a0: 22 5c 73 66 6f 72 5c 73 77 72 69 74 69 6e 67 3c "\sfor\swriting<
03b0: 2f 70 72 65 3e 5c 72 5c 6e 5c 72 5c 6e 49 5c 73 /pre>\r\n\r\nI\s
03c0: 74 68 69 6e 6b 5c 73 69 74 5c 73 73 68 6f 75 6c think\sit\sshoul
03d0: 64 5c 73 62 65 5c 73 70 72 65 74 74 79 5c 73 65 d\sbe\spretty\se
03e0: 61 73 79 5c 73 74 6f 5c 73 72 65 70 6c 69 63 61 asy\sto\sreplica
03f0: 74 65 5c 73 74 68 65 5c 73 70 72 6f 62 6c 65 6d te\sthe\sproblem
0400: 2e 5c 72 5c 6e 5c 72 5c 6e 49 27 6d 5c 73 73 70 .\r\n\r\nI'm\ssp
0410: 65 63 75 6c 61 74 69 6e 67 2c 5c 73 62 75 74 5c eculating,\sbut\
0420: 73 69 74 5c 73 6c 6f 6f 6b 73 5c 73 6c 69 6b 65 sit\slooks\slike
0430: 5c 73 74 68 65 5c 73 65 61 73 69 65 73 74 5c 73 \sthe\seasiest\s
0440: 66 69 78 5c 73 69 73 5c 73 74 6f 5c 73 75 70 64 fix\sis\sto\supd
0450: 61 74 65 5c 73 73 72 63 2f 66 69 6c 65 2e 63 3a ate\ssrc/file.c:
0460: 66 69 6c 65 5f 63 6f 70 79 28 29 5c 73 74 6f 5c file_copy()\sto\
0470: 73 62 65 5c 73 75 70 64 61 74 65 64 5c 73 74 6f sbe\supdated\sto
0480: 5c 73 63 72 65 61 74 65 5c 73 74 68 65 5c 73 64 \screate\sthe\sd
0490: 65 73 74 69 6e 61 74 69 6f 6e 5c 73 64 69 72 65 estination\sdire
04a0: 63 74 6f 72 79 5c 73 69 66 5c 73 69 74 5c 73 64 ctory\sif\sit\sd
04b0: 6f 65 73 6e 27 74 5c 73 65 78 69 73 74 2e 5c 73 oesn't\sexist.\s
04c0: 5c 73 4f 6e 5c 73 74 68 65 5c 73 66 6c 69 70 5c \sOn\sthe\sflip\
04d0: 73 73 69 64 65 2c 5c 73 67 69 76 65 6e 5c 73 74 sside,\sgiven\st
04e0: 68 65 5c 73 64 69 72 65 63 74 6f 72 79 5c 73 70 he\sdirectory\sp
04f0: 65 72 6d 69 73 73 69 6f 6e 73 2c 5c 73 6d 61 79 ermissions,\smay
0500: 62 65 5c 73 69 74 27 73 5c 73 62 65 74 74 65 72 be\sit's\sbetter
0510: 5c 73 74 6f 5c 73 6a 75 73 74 5c 73 61 70 70 65 \sto\sjust\sappe
0520: 6e 64 5c 73 61 6e 5c 73 65 72 72 6f 72 5c 73 6d nd\san\serror\sm
0530: 65 73 73 61 67 65 5c 73 74 6f 5c 73 74 68 65 5c essage\sto\sthe\
0540: 73 6f 75 74 70 75 74 5c 73 77 68 65 6e 5c 73 74 soutput\swhen\st
0550: 68 65 5c 73 63 6f 6d 6d 61 6e 64 5c 73 66 69 6e he\scommand\sfin
0560: 69 73 68 65 73 5c 73 72 6f 6c 6c 69 6e 67 5c 73 ishes\srolling\s
0570: 62 61 63 6b 5c 73 74 68 65 5c 73 6d 65 72 67 65 back\sthe\smerge
0580: 3f 5c 73 5c 73 46 6f 6f 64 5c 73 66 6f 72 5c 73 ?\s\sFood\sfor\s
0590: 74 68 6f 75 67 68 5c 73 49 5c 73 73 75 70 70 6f though\sI\ssuppo
05a0: 73 65 2e 0a 4a 20 66 6f 75 6e 64 69 6e 20 64 35 se..J foundin d5
05b0: 37 32 39 63 33 31 62 35 0a 4a 20 70 72 69 76 61 729c31b5.J priva
05c0: 74 65 5f 63 6f 6e 74 61 63 74 20 38 34 66 35 39 te_contact 84f59
05d0: 31 31 34 62 37 65 65 65 37 30 38 38 66 64 37 65 114b7eee7088fd7e
05e0: 32 39 33 32 35 39 39 63 36 39 63 39 61 64 30 37 2932599c69c9ad07
05f0: 36 31 62 0a 4a 20 73 65 76 65 72 69 74 79 20 4d 61b.J severity M
0600: 69 6e 6f 72 0a 4a 20 73 74 61 74 75 73 20 4f 70 inor.J status Op
0610: 65 6e 0a 4a 20 74 69 74 6c 65 20 4d 65 72 67 69 en.J title Mergi
0620: 6e 67 5c 73 62 72 61 6e 63 68 65 73 5c 73 77 69 ng\sbranches\swi
0630: 74 68 5c 73 61 5c 73 72 65 6e 61 6d 65 64 5c 73 th\sa\srenamed\s
0640: 66 69 6c 65 0a 4a 20 74 79 70 65 20 43 6f 64 65 file.J type Code
0650: 5f 44 65 66 65 63 74 0a 4b 20 31 64 35 30 35 34 _Defect.K 1d5054
0660: 30 65 63 35 30 33 33 35 62 65 65 66 33 65 65 32 0ec50335beef3ee2
0670: 32 38 31 38 35 33 39 32 64 36 39 34 63 33 62 36 28185392d694c3b6
0680: 36 61 0a 55 20 61 6e 6f 6e 79 6d 6f 75 73 0a 5a 6a.U anonymous.Z
0690: 20 64 61 37 37 38 31 37 33 36 39 37 39 64 36 62 da7781736979d6b
06a0: 30 65 38 66 38 63 34 65 61 39 39 62 39 36 39 61 0e8f8c4ea99b969a
06b0: 61 0a a.