atom-svn icon indicating copy to clipboard operation
atom-svn copied to clipboard

svn changes not reflected to color of files

Open pabloab opened this issue 8 years ago • 4 comments

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 ("?").

pabloab avatar Jan 22 '16 15:01 pabloab

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>

patrickhousley avatar Feb 08 '16 20:02 patrickhousley

This is currently a known bug

andischerer avatar Feb 09 '16 19:02 andischerer

@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.

andischerer avatar Feb 09 '16 19:02 andischerer

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.

eescovar avatar Feb 10 '17 16:02 eescovar