ZyX_I committed a8f8726

@%aurum/drivers/bazaar: Fixed clean files listing
Added renames support (renamed files now appear as
added(new name)+removed(old name) as in mercurial)
tests: More extensive rf-status() testing

Comments (0)

Files changed (1)


                 \                     'has_key(statdict, v:key)'))
         let r[skey]+=statdict[sdkey]
+    let renames=s:F.getrenames(statdict)
+    call filter(r.modified, '!has_key(renames, v:val)')
+    let r.added+=sort(keys(renames))
+    let r.removed+=sort(values(renames))
     if a:0>1 && a:1 is 0 && a:2 isnot 0
         let [r.deleted, r.unknown]=[r.unknown, r.deleted]
         let [r.added,   r.removed]=[r.removed, r.added  ]
         if !empty(a:3)
             let allfiles=filter(allfiles, 'index(a:3, v:val)!=-1')
-        let files=r.added+r.removed+r.unknown+r.deleted
+        let files=r.modified+r.added+r.removed+r.deleted+r.unknown
         let r.clean=filter(allfiles, 'index(files, v:val)==-1')
     return r
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.