[Updated] D11743: rhg: Fix `rhg status` file content comparison
SimonSapin
phabricator at mercurial-scm.org
Tue Nov 9 15:03:05 UTC 2021
Closed by commit rHG594cf89047c8: rhg: Fix `rhg status` file content comparison (authored by SimonSapin).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D11743?vs=31039&id=31041
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D11743/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D11743
AFFECTED FILES
rust/rhg/src/commands/status.rs
CHANGE DETAILS
diff --git a/rust/rhg/src/commands/status.rs b/rust/rhg/src/commands/status.rs
--- a/rust/rhg/src/commands/status.rs
+++ b/rust/rhg/src/commands/status.rs
@@ -312,5 +312,5 @@
let fs_path = hg_path_to_os_string(hg_path).expect("HgPath conversion");
let fs_contents = repo.working_directory_vfs().read(fs_path)?;
- return Ok(contents_in_p1 == &*fs_contents);
+ return Ok(contents_in_p1 != &*fs_contents);
}
To: SimonSapin, #hg-reviewers, Alphare
Cc: Alphare, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20211109/a5610c9c/attachment-0002.html>
More information about the Mercurial-patches
mailing list