rust/hg-core/src/dirstate/dirstate_map.rs
changeset 42796 8f0881193946
parent 42795 8d2d5dfa07f5
child 42797 1faa2bed47c6
--- a/rust/hg-core/src/dirstate/dirstate_map.rs	Sat Aug 17 13:42:30 2019 +0900
+++ b/rust/hg-core/src/dirstate/dirstate_map.rs	Sat Aug 17 13:26:04 2019 +0900
@@ -20,10 +20,7 @@
 
 pub type FileFoldMap = HashMap<Vec<u8>, Vec<u8>>;
 
-const NULL_REVISION: [u8; 20] = [
-    b'\0', b'\0', b'\0', b'\0', b'\0', b'\0', b'\0', b'\0', b'\0', b'\0',
-    b'\0', b'\0', b'\0', b'\0', b'\0', b'\0', b'\0', b'\0', b'\0', b'\0',
-];
+const NULL_REVISION: [u8; 20] = [0; 20];
 const MTIME_UNSET: i32 = -1;
 const SIZE_DIRTY: i32 = -2;