Show More
@@ -34,7 +34,7 b' HEADER = struct.Struct(' | |||||
34 |
|
34 | |||
35 |
|
35 | |||
36 | class DirstateDocket(object): |
|
36 | class DirstateDocket(object): | |
37 |
data_filename_pattern = b'dirstate.%s |
|
37 | data_filename_pattern = b'dirstate.%s' | |
38 |
|
38 | |||
39 | def __init__(self, parents, data_size, tree_metadata, uuid): |
|
39 | def __init__(self, parents, data_size, tree_metadata, uuid): | |
40 | self.parents = parents |
|
40 | self.parents = parents |
@@ -265,7 +265,7 b" impl<'on_disk> Docket<'on_disk> {" | |||||
265 | } |
|
265 | } | |
266 |
|
266 | |||
267 | pub fn data_filename(&self) -> String { |
|
267 | pub fn data_filename(&self) -> String { | |
268 |
String::from_utf8(format_bytes!(b"dirstate.{} |
|
268 | String::from_utf8(format_bytes!(b"dirstate.{}", self.uuid)).unwrap() | |
269 | } |
|
269 | } | |
270 | } |
|
270 | } | |
271 |
|
271 |
General Comments 0
You need to be logged in to leave comments.
Login now