Mercurial dirstate out of sync / corrupted
Long Vu
long.vu at intelerad.com
Fri Mar 31 15:35:49 UTC 2017
Hi,
I've seen this behavior randomly where the dirstate have to be rebuilt
because it somehow is out of sync with the checkout state or is
possibly corrupted.
Just bite a college of mine again.
Is this a known behavior / existing bug? How can we prevent this from
happening in the future?
We are still using mercurial 2.5.4. Yes it's old, we have plan to
upgrade to latest. Would latest mercurial also have fix for this (ie
it is a known problem and has been logged to the bug tracker).
Below is the manifestation ... and I don't know how to reproduce again.
[plessard at plessard PACS-4-12-1_broken]$ hg up -C .
getting changed largefiles
0 largefiles updated, 0 removed
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
[plessard at plessard PACS-4-12-1_broken]$ ls -l
Testing/TestData/Dicom/ImageIo/test.dcm.gz
ls: cannot access Testing/TestData/Dicom/ImageIo/test.dcm.gz: No such
file or directory
[plessard at plessard PACS-4-12-1_broken]$ hg debugrebuildstate
[plessard at plessard PACS-4-12-1_broken]$ hg st -q
! PACS/Databases/Sybase/Tools/sqsh
! Testing/TestData/Dicom/ImageIo/test.dcm.gz
! Testing/TestData/Dicom/mammography-cad-sr/r2/r2-failed-cad-sr/145205_6052_0000000002.sr
! Testing/TestData/Dicom/mammography-cad-sr/r2/r2-failed-cad-sr/145254_6064_0000000003.sr
! Testing/TestData/Dicom/mammography-cad-sr/r2/r2-failed-cad-sr/145337_6094_0000000004.sr
! Testing/TestData/Dicom/mammography-cad-sr/r2/r2-failed-cad-sr/145352_6118_0000000005.sr
! Testing/TestData/Dicom/mammography-cad-sr/r2/r2-failed-cad-sr/145414_6142_0000000006.sr
! Testing/TestData/Dicom/mammography-cad-sr/r2/r2-failed-cad-sr/171616_6443_0000000003.sr
! Testing/TestData/Dicom/mammography-cad-sr/r2/r2-failed-cad-sr/171642_6438_0000000002.sr
! Testing/TestData/Dicom/mammography-cad-sr/r2/r2-failed-cad-sr/171716_6476_0000000004.sr
! Testing/TestData/Dicom/mammography-cad-sr/r2/r2-failed-cad-sr/171732_6503_0000000005.sr
! Testing/TestData/Dicom/mammography-cad-sr/r2/r2-failed-cad-sr/171756_6527_0000000006.sr
! Tools/ComServer/C++/Com32Gateway/Com32Gateway/PowerscribeApi.tlb
! TranscriptionTool/TranscriptionTool/hlp/AfxDlg.rtf
! Viewer/Client/Installer/Resources/installanywhere/CopyDirectory/customcode.jar
! Viewer/Client/Installer/Resources/installanywhere/CopyFile/customcode.jar
! Viewer/Client/Installer/Resources/installanywhere/DeleteDirectory/customcode.jar
! Viewer/Client/Installer/Resources/installanywhere/DeleteFile/customcode.jar
! Viewer/Client/Installer/Resources/installanywhere/Rename/customcode.jar
! Viewer/Client/Installer/macosx/StartInteleViewer/logo128.icns
! Viewer/Client/Viewer/Gui/Icons/users2.png
[plessard at plessard PACS-4-12-1_broken]$ hg up -C .
getting changed largefiles
0 largefiles updated, 0 removed
21 files updated, 0 files merged, 0 files removed, 0 files unresolved
[plessard at plessard PACS-4-12-1_broken]$ ls -l
Testing/TestData/Dicom/ImageIo/test.dcm.gz
-rw-r--r--. 1 plessard Domain Users 1062 Mar 31 11:23
Testing/TestData/Dicom/ImageIo/test.dcm.gz
--
Long Vu | Build Controller | Intelerad | +1-514-931-6222 ext. 7743
--
This email or any attachments may contain confidential or legally
privileged information intended for the sole use of the addressees. Any
use, redistribution, disclosure, or reproduction of this information,
except as intended, is prohibited. If you received this email in error,
please notify the sender and remove all copies of the message, including
any attachments.
More information about the Mercurial
mailing list