Commit e54ba8f0 authored by Ivanq's avatar Ivanq

Handle rev -1 in getData()

parent 78c420d8
......@@ -917,6 +917,10 @@ class HgIndex {
}
getData(rev) {
if(rev == -1) {
return Promise.resolve([]);
}
return this.delta(rev);
}
getCompressedData(rev) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment