atom-svn
atom-svn copied to clipboard
svn changes not reflected to color of files
I run a svn update and revert files "C" and they still shows like modified on atom tree view. Also files scheduled to next commit have the same green color as not added files ("?").
I noticed that @repo.getSvnStatus is receiving the below XML from the svn command. Since the xml contains no entries, no file updates are being made. It may be best to first reset the status of files and then check for entries from getSvnStatus.
<?xml version="1.0" encoding="UTF-8"?>
<status>
<target
path=".">
</target>
</status>
This is currently a known bug
@patrickhousley the svn status changes will only get an update if [checkRepositoryHasChanged](https://github.com/andischerer/atom-svn/blob/master/lib/svn-utils.coffee#L79)
returns true. At the moment this will only be true if the revision number or the repository url has changed.
I had the same problem here, but today I found out the cause: I was using "Changelists" (TortoiseSVN feature). Once I removed the changelist, everything went back to normal.