##// END OF EJS Templates
rust-requirements: allow loading repos with `bookmarksinstore` requirement...
Martin von Zweigbergk -
r49935:81d293eb default
parent child Browse files
Show More
@@ -92,6 +92,8 b' const SUPPORTED: &[&str] = &['
92 // not should opt out by checking `has_sparse` and `has_narrow`.
92 // not should opt out by checking `has_sparse` and `has_narrow`.
93 SPARSE_REQUIREMENT,
93 SPARSE_REQUIREMENT,
94 NARROW_REQUIREMENT,
94 NARROW_REQUIREMENT,
95 // rhg doesn't care about bookmarks at all yet
96 BOOKMARKS_IN_STORE_REQUIREMENT,
95 ];
97 ];
96
98
97 // Copied from mercurial/requirements.py:
99 // Copied from mercurial/requirements.py:
@@ -103,6 +105,11 b' pub(crate) const DIRSTATE_V2_REQUIREMENT'
103 #[allow(unused)]
105 #[allow(unused)]
104 pub(crate) const NARROW_REQUIREMENT: &str = "narrowhg-experimental";
106 pub(crate) const NARROW_REQUIREMENT: &str = "narrowhg-experimental";
105
107
108 /// Bookmarks must be stored in the `store` part of the repository and will be
109 /// share accross shares
110 #[allow(unused)]
111 pub(crate) const BOOKMARKS_IN_STORE_REQUIREMENT: &str = "bookmarksinstore";
112
106 /// Enables sparse working directory usage
113 /// Enables sparse working directory usage
107 #[allow(unused)]
114 #[allow(unused)]
108 pub(crate) const SPARSE_REQUIREMENT: &str = "exp-sparse";
115 pub(crate) const SPARSE_REQUIREMENT: &str = "exp-sparse";
General Comments 0
You need to be logged in to leave comments. Login now