File attributes are similar to the contents of a file in Subversion. They also require that the commit be changed and may be in conflict.
Make svn status and you will see more description of the conflict. There are three possibilities:
- Inbound editing and local editing . Both you and the previous version edited this attribute. It had to do a merger.
- Inbound add and local add : you added this attribute as well as someone else.
- Incoming deletion and local editing or adding : version wars - this attribute was in the previous revision of the repository, and this person deleted this attribute. You have edited it.
There are two ways to solve this problem:
- Restore this attribute. If you added it, make
svn propdel --force on it. Since this is a directory, do not do svn revert . because you will revert all changes to this directory. you do not want to do this. Just return this attribute. Perhaps you can only return the attribute by doing svn revert --depth=empty . I have never tried this. - Make
svn resolved . . This will mean conflict in . as permitted. It is not necessarily resolved, but you can at least mark it as such and fix it later.
If you returned the property change and resolved the conflict this way, do svn update and retype this property. If you have encountered svn resolved . in conflict, take a look at the meaning of the previous version by running svn propget -rPREV svn:ignore . . Thus, you can see what the previous revision changed, and take this into account. This may be a problem simplifying orders. For example, a previous revision set it to:
target build.properties
You installed it:
build.properties target
As a result, both values ββare the same. Or maybe the previous version had a directory with a file name that you did not have. For example, it was configured to:
*.log
and you install it for:
build.properties target
You probably want to install it:
build.properties target *.log
First, resolve the conflict, upgrade and set it to the value you need.
source share