Mỗi lần tôi cố gắng hợp nhất chi nhánh vào một nhánh Xcode 6.0.1 khác.Xcode 6.0.1 gặp sự cố khi hợp nhất 2 chi nhánh
Cho đến nay tôi có:
thử từ một máy tính khác nhau để kết hợp các chi nhánh cùng (đẩy chúng và kéo chúng trước khi rõ ràng) và nó vẫn bị treo.
Tạo chi nhánh mới từ "chi nhánh bị lỗi" đã thêm một khoảng trống trong đó và sáp nhập lại thành "nhánh bị lỗi" với thành công. nhưng không thể hợp nhất nó vào nhánh ban đầu mà tôi muốn.
Có vấn đề gì với Xcode? Làm thế nào tôi có thể hợp nhất các chi nhánh? (Có khoảng 100 tập tin để merge)
EDIT 2
Một trong các tập tin có một cuộc xung đột, sau khi giải quyết các mâu thuẫn trong trình soạn thảo Xcode hợp nhất, nó sẽ sụp đổ không chỉ khi cố gắng hợp nhất nhưng ngay cả khi cố gắng xem xét các tệp khác (xem các tệp khác không bị lỗi trước khi giải quyết xung đột).
chỉnh sửa một trong những chi nhánh theo cách như vậy để tránh những xung đột sau khi sáp nhập sẽ tiết kiệm được giải quyết cuộc xung đột, nhưng Xcode vẫn sẽ sụp đổ khi đánh sáp nhập
EDIT - thêm các cảnh báo tai nạn:
Process: Xcode [3146]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 6.0.1 (6528)
Build Info: IDEFrameworks-6528000000000000~2
App Item ID: 497799835
App External ID: 712682811
Code Type: X86-64 (Native)
Parent Process: launchd [162]
Responsible: Xcode [3146]
User ID: 501
Date/Time: 2014-09-30 15:30:49.320 +0300
OS Version: Mac OS X 10.9.4 (13E28)
Report Version: 11
Anonymous UUID: 3A19C91F-0A10-76C9-10BB-C3B0EABB5390
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
Sending merge: to <IDESourceControlMergeWindowController: 0x7fc4d0974a90> from <NSButton: 0x7fc4cd57e7e0>
ProductBuildVersion: 6A317
ASSERTION FAILURE in /SourceCache/IDEPlugins/IDEPlugins- 6244/IDEQuickLookEditor/Comparison/IDEQuickLookVersionsTwoUpSubmode.m:210
Details: primaryDocumentLocation should be an instance inheriting from IDESourceControlDocumentLocation, but it is nil
Object: <IDEQuickLookVersionsTwoUpSubmode: 0x7fc4d0e515d0>
Method: -_saveMergeState
Thread: <NSThread: 0x7fc4c9716f00>{name = (null), num = 1}
Hints:
0: Sending merge: to <IDESourceControlMergeWindowController: 0x7fc4d0974a90> from <NSButton: 0x7fc4cd57e7e0>
Backtrace:
0 0x0000000106343f0a -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit)
1 0x0000000105106baf _DVTAssertionHandler (in DVTFoundation)
2 0x0000000105106e9e _DVTAssertionFailureHandler (in DVTFoundation)
3 0x00000001150b4cee -[IDEQuickLookVersionsTwoUpSubmode _saveMergeState] (in IDEQuickLookEditor)
4 0x00000001065f69f4 -[IDESourceControlConflictResolutionController completeConflictResolution] (in IDEKit)
5 0x000000010646d4f4 -[IDESourceControlMergeWindowController merge:] (in IDEKit)
6 0x00007fff85a2b260 -[NSApplication sendAction:to:from:] (in AppKit)
7 0x000000010566d200 __37-[DVTApplication sendAction:to:from:]_block_invoke (in DVTKit)
8 0x0000000105107ec2 DVTInvokeWithFailureHint (in DVTFoundation)
9 0x000000010553777e -[DVTApplication sendAction:to:from:] (in DVTKit)
10 0x00007fff85a2b0de -[NSControl sendAction:to:] (in AppKit)
11 0x00007fff85a77c4d -[NSCell _sendActionFrom:] (in AppKit)
12 0x00007fff85a91655 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] (in AppKit)
13 0x00007fff85a90a27 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] (in AppKit)
14 0x00007fff85a9013d -[NSControl mouseDown:] (in AppKit)
15 0x00007fff85a11a58 -[NSWindow sendEvent:] (in AppKit)
16 0x00007fff859b05d4 -[NSApplication sendEvent:] (in AppKit)
17 0x000000010610fc74 -[IDEApplication sendEvent:] (in IDEKit)
18 0x00007fff858009f9 -[NSApplication run] (in AppKit)
19 0x00007fff857eb783 NSApplicationMain (in AppKit)
20 0x00007fff8e89d5fd start (in libdyld.dylib)
Performing @selector(merge:) from sender NSButton 0x7fc4cd57e7e0
abort() called
Application Specific Signatures:
(primaryDocumentLocation) != nil
Thông thường khi sự cố xảy ra có cảnh báo và nếu bạn đào sâu, bạn có thể tìm thấy thông báo lỗi thực sự và kết xuất. Hãy đăng nó! –
Tôi luôn gặp vấn đề với điều đó, đó là lý do tại sao tôi sử dụng thiết bị đầu cuối cho git. http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging –
@PeterDeChúng tôi, bất kỳ đầu mối nào đang xảy ra ở đây? –