Compatibility issue with bfiles
Created originally on Bitbucket by Anonymous
Using bfiles and autoupdate=true the response from hg update results in a two line response:
$ hg update 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 0 big files updated, 0 removed
The library is able to properly handle the first line, but the second line gets interpreted as a new response and the first character on that line gets interpreted as a command channel for which zero (0) is invalid.
I looked around in the source and I found what looks like case handling for the largefiles support in UpdateMergeHelper.java:
} else if (line.contains("largefiles")) {
// Ignore
} else {
result = UpdateResult.fromLine(line);
}
I'm thinking this also needs a
} else if (line.contains("big files")) {
// Ignore
to handle the output from the bfupdate. I wanted to confirm this myself, but getting a development system to build and test is taking longer than I anticipated. I'm going to keep trying, but posting here since I hope it's a rather easy check for a developer well versed in the code.
Thanks