conflict

The operation could not be performed because “PROJECTNAME” has one or more tree conflicts

﹥>﹥吖頭↗ 提交于 2019-11-27 23:05:49
问题 I am using Git and when I tried to pull a newer development branch with my current branch using XCode's source control menu I received this error message: The operation could not be performed because "ProjectName" has one or more tree conflicts. How do I resolve these tree conflicts? Thanks 回答1: There is a conflict in the project file you need to pull using the command line or a GUI tool like SourceTree (Free) and manually resolve the conflict in a text editor or diff tool. See also:How to

Linq row not found or changed

筅森魡賤 提交于 2019-11-27 21:36:47
问题 Error Message: Row not found or changed. Stack Trace: at System.Data.Linq.ChangeProcessor.SubmitChanges(ConflictMode failureMode) at System.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode) This occurs seemingly randomly. I get emailed these errors, and the URL reported always seems to work for me and should be functioning for everyone else as well. I can fix this error by: Going to my dbml layout Selecting every field in the table causing conflicts Right click and set the

How do I manage conflicts with git submodules?

冷暖自知 提交于 2019-11-27 19:52:10
问题 I have a git superproject that references several submodules and I am trying to lock down a workflow for the rest of the my project members to work within. For this question, lets say my superproject is called supery and the submodule is called subby . (Then is a simplification of what I'm trying to do...I'm not actually using the branches for versions, but I thought it would be easiest to lay out as a question.) My master branch of supery has the tag v1.0 of the git project subby referenced

How do I resolve a conflict after git pull?

我们两清 提交于 2019-11-27 19:35:20
I have to solve some conflict after a git pull . $ git pull CONFLICT (rename/add): Renamed vignette_generator_mashed.h->vision_problem_8.h in 49423dd0d47abe6d839a783b5517bdfd200a202f. vision_problem_8.h added in HEAD Added as vision_problem_8.h~HEAD_1 instead Removed vignette_generator_cross_square.cc Automatic merge failed; fix conflicts and then commit the result. So I googled it a bit, and found people saying using git mergetool . But here is what I got: $ git mergetool merge tool candidates: meld kdiff3 tkdiff xxdiff meld gvimdiff emerge opendiff emerge vimdiff No files need merging $ git

How to use two versions of jar in my java project

孤街醉人 提交于 2019-11-27 16:36:40
问题 In my java project, I need to use neo4j-1.9.3 that depends on lucene-3.6.2 , and ElasticSearch which depends on lucene-4.4.0 . I know that if I want to use two versions of lucene directly, I can use ClassLoader to load different classes from the lucenes. But the problem is that I won't use lucene's apis directly now. Is there any way that lucene-3.6.2 can be loaded when neo4j's apis are running, and lucene-4.4.0 can be loaded while running elasticsearch's apis. The two versions of lucene

How can I discard remote changes and mark a file as “resolved”?

给你一囗甜甜゛ 提交于 2019-11-27 16:36:06
I have some local files, I pull from remote branch and there are conflicts. I know that I would like to keep my local changes and ignore the remote changes causing conflicts. Is there a command I can use to in effect say "mark all conflicts as resolved, use local"? Brian Campbell git checkout has the --ours option to check out the version of the file that you had locally (as opposed to --theirs , which is the version that you pulled in). You can pass . to git checkout to tell it to check out everything in the tree. Then you need to mark the conflicts as resolved, which you can do with git add

Have git rerere automatically mark files as resolved?

徘徊边缘 提交于 2019-11-27 14:39:44
问题 I'm using git rerere, and it is useful, but there is one problem: When it automatically resolves a file, it does not mark it as resolved (eg with git add). So if I run 'git mergetool', it opens up the file as if it still has all the conflicts in it. So far, I've made a small shell script which I can call, which scans all files marked as conflicted for conflict markers (eg >>>>>>> ), and calls git-add on them if they have none. Is there a better way of doing this? Some flag to git rerere I

Gradle: how to display where a dependency conflict arises

二次信任 提交于 2019-11-27 14:17:35
I have a Gradle project with many dependencies, one of which is resolved as follows: gradle dependencyInsight --configuration compile --dependency javax.activation :dependencyInsight javax.activation:activation:1.1 (conflict resolution) +--- com.sun.mail:mailapi:1.4.4 | \--- compile \--- com.sun.mail:smtp:1.4.4 \--- compile javax.activation:activation:1.0.2 -> 1.1 \--- compile Version 1.1 must be a transitive dependency because I explicitly specified 1.0.2. How can I find out where this specific transitive dependency comes from? Answering this question is the whole point of the

Different versions of the same dependency in Maven

為{幸葍}努か 提交于 2019-11-27 14:03:48
问题 I have a maven project that depends on both Woodstox and XStream. Unfortunately XStream also depends on Woodstox, but a version slightly older than what I need. In the meantime though, the artifact names of the Woodstox libs changed, so maven won't consider them multiple versions of the same artifact. But the package and class names are the same, which means there is a conflict at runtime. Now, I could obviously hack the old woodstox jar out of the build (a war file in our case) somehow but

R: 2 functions with the same name in 2 different packages

风流意气都作罢 提交于 2019-11-27 12:00:27
I need to load to R packages : tseries and chron Both have a function named is.weekend I always have in my environment the function from the second package I loaded. How can I access always the function from, let say, chron ? You have probably already noticed that the order of loading the packages makes a difference, i.e. the package that gets loaded last will mask the functions in packages loaded earlier. To specify the package that you want to use, the syntax is: chron::is.weekend() tseries::is.weekend() In other words, use packagename::functionname() In addition, if you know that you will