##// END OF EJS Templates
rhg: in path_encode, be a bit more conservative about memory usage...
Arseniy Alekseyev -
r51061:6ea3b1ac default
parent child Browse files
Show More
@@ -576,6 +576,7 b' fn hash_mangle(src: &[u8], sha: &[u8]) -'
576 if let Some(l) = last_dot {
576 if let Some(l) = last_dot {
577 dest.write_bytes(&src[l..]);
577 dest.write_bytes(&src[l..]);
578 }
578 }
579 dest.shrink_to_fit();
579 dest
580 dest
580 }
581 }
581
582
General Comments 0
You need to be logged in to leave comments. Login now