rust/hg-cpython/src/exceptions.rs
changeset 50972 3aca98a35727
parent 48519 35ebe6f824be
child 50976 4c5f6e95df84
--- a/rust/hg-cpython/src/exceptions.rs	Mon Aug 07 12:53:43 2023 +0200
+++ b/rust/hg-cpython/src/exceptions.rs	Mon Aug 07 15:07:48 2023 +0200
@@ -26,15 +26,6 @@
             hg::GraphError::ParentOutOfRange(r) => {
                 GraphError::new(py, ("ParentOutOfRange", r))
             }
-            hg::GraphError::WorkingDirectoryUnsupported => {
-                match py
-                    .import("mercurial.error")
-                    .and_then(|m| m.get(py, "WdirUnsupported"))
-                {
-                    Err(e) => e,
-                    Ok(cls) => PyErr::from_instance(py, cls),
-                }
-            }
         }
     }