diff rust/hg-core/src/revlog.rs @ 46821:e8ae91b1a63d

rhg: raise wdir specific error for `hg debugdata` Helps remove the conditional in `test-debugcommands.t` for rhg. Differential Revision: https://phab.mercurial-scm.org/D10254
author Pulkit Goyal <7895pulkit@gmail.com>
date Tue, 23 Mar 2021 19:58:49 +0530
parents 645ee7225fab
children 4d2a5ca060e3
line wrap: on
line diff
--- a/rust/hg-core/src/revlog.rs	Sat Mar 20 02:03:57 2021 +0530
+++ b/rust/hg-core/src/revlog.rs	Tue Mar 23 19:58:49 2021 +0530
@@ -35,6 +35,9 @@
 #[allow(clippy::unreadable_literal)]
 pub const WORKING_DIRECTORY_REVISION: Revision = 0x7fffffff;
 
+pub const WORKING_DIRECTORY_HEX: &str =
+    "ffffffffffffffffffffffffffffffffffffffff";
+
 /// The simplest expression of what we need of Mercurial DAGs.
 pub trait Graph {
     /// Return the two parents of the given `Revision`.