sapling/eden/fs/inodes
Chad Austin 079477a580 do not report conflicts if a file's object ID has changed but the contents have not
Summary:
When migrating to the new hg:object-id-format hash schemes, EdenFS
would sometimes report spurious conflicts from `hg update`. The issue
is that checkout treated the object ID as a proxy for equivalence,
which is not generally true. In that case, let's actually load the
inode in order to compare SHA-1s.

Reviewed By: xavierd

Differential Revision: D34742471

fbshipit-source-id: 230eed0d2d3e45315481a97e32deb41aa040d445
2022-03-09 10:52:48 -08:00
..
overlay fix some laziness in the include structure 2022-03-03 12:11:31 -08:00
sqliteoverlay fs: fix license header 2022-01-04 15:00:07 -08:00
test do not report conflicts if a file's object ID has changed but the contents have not 2022-03-09 10:52:48 -08:00
treeoverlay fs: fix license header 2022-01-04 15:00:07 -08:00
CacheHint.h fs: fix license header 2022-01-04 15:00:07 -08:00
CheckoutAction.cpp fs: fix license header 2022-01-04 15:00:07 -08:00
CheckoutAction.h fs: fix license header 2022-01-04 15:00:07 -08:00
CheckoutContext.cpp Add a thrift method to rm a pah and flush overlay in the end 2022-03-07 15:07:12 -08:00
CheckoutContext.h getRequestInfo return pointer instead of reference 2022-03-02 20:04:11 -08:00
CMakeLists.txt fs: fix license header 2022-01-04 15:00:07 -08:00
DeferredDiffEntry.cpp fs: fix license header 2022-01-04 15:00:07 -08:00
DeferredDiffEntry.h fs: fix license header 2022-01-04 15:00:07 -08:00
DirEntry.cpp fs: fix license header 2022-01-04 15:00:07 -08:00
DirEntry.h fix some laziness in the include structure 2022-03-03 12:11:31 -08:00
EdenDispatcherFactory.cpp fs: fix license header 2022-01-04 15:00:07 -08:00
EdenDispatcherFactory.h fs: fix license header 2022-01-04 15:00:07 -08:00
EdenMount.cpp do not report conflicts if a file's object ID has changed but the contents have not 2022-03-09 10:52:48 -08:00
EdenMount.h Add a thrift method to rm a pah and flush overlay in the end 2022-03-07 15:07:12 -08:00
EdenMountError.h fs: fix license header 2022-01-04 15:00:07 -08:00
FileInode.cpp fs: fix license header 2022-01-04 15:00:07 -08:00
FileInode.h fs: fix license header 2022-01-04 15:00:07 -08:00
FuseDispatcherImpl.cpp fs: fix license header 2022-01-04 15:00:07 -08:00
FuseDispatcherImpl.h fs: fix license header 2022-01-04 15:00:07 -08:00
GlobNode.cpp fs: fix license header 2022-01-04 15:00:07 -08:00
GlobNode.h fix some laziness in the include structure 2022-03-03 12:11:31 -08:00
InodeBase.cpp fs: fix license header 2022-01-04 15:00:07 -08:00
InodeBase.h fs: fix license header 2022-01-04 15:00:07 -08:00
InodeError.cpp fs: fix license header 2022-01-04 15:00:07 -08:00
InodeError.h fs: fix license header 2022-01-04 15:00:07 -08:00
InodeLoader.h fs: fix license header 2022-01-04 15:00:07 -08:00
InodeMap.cpp fix some laziness in the include structure 2022-03-03 12:11:31 -08:00
InodeMap.h fix some laziness in the include structure 2022-03-03 12:11:31 -08:00
InodeMetadata.cpp fs: fix license header 2022-01-04 15:00:07 -08:00
InodeMetadata.h fs: fix license header 2022-01-04 15:00:07 -08:00
InodeNumber.cpp fs: fix license header 2022-01-04 15:00:07 -08:00
InodeNumber.h fs: fix license header 2022-01-04 15:00:07 -08:00
InodePtr-defs.h fs: fix license header 2022-01-04 15:00:07 -08:00
InodePtr.cpp fs: fix license header 2022-01-04 15:00:07 -08:00
InodePtr.h fs: fix license header 2022-01-04 15:00:07 -08:00
InodePtrFwd.h fs: fix license header 2022-01-04 15:00:07 -08:00
InodeTable.h fs: fix license header 2022-01-04 15:00:07 -08:00
InodeTimestamps.cpp fs: fix license header 2022-01-04 15:00:07 -08:00
InodeTimestamps.h fs: fix license header 2022-01-04 15:00:07 -08:00
IOverlay.h fs: fix license header 2022-01-04 15:00:07 -08:00
NfsDispatcherImpl.cpp fs: fix license header 2022-01-04 15:00:07 -08:00
NfsDispatcherImpl.h fs: fix license header 2022-01-04 15:00:07 -08:00
Overlay.cpp fs: fix license header 2022-01-04 15:00:07 -08:00
Overlay.h fs: fix license header 2022-01-04 15:00:07 -08:00
OverlayFile.cpp fs: fix license header 2022-01-04 15:00:07 -08:00
OverlayFile.h fs: fix license header 2022-01-04 15:00:07 -08:00
OverlayFileAccess.cpp fs: fix license header 2022-01-04 15:00:07 -08:00
OverlayFileAccess.h fs: fix license header 2022-01-04 15:00:07 -08:00
ParentInodeInfo.h fs: fix license header 2022-01-04 15:00:07 -08:00
PrjfsDispatcherImpl.cpp prjfs: prevent .eden from being removed 2022-03-07 15:36:00 -08:00
PrjfsDispatcherImpl.h prjfs: prevent .eden from being removed 2022-03-07 15:36:00 -08:00
RequestContext.cpp refactor notifications 2022-03-01 17:52:58 -08:00
RequestContext.h getRequestInfo return pointer instead of reference 2022-03-02 20:04:11 -08:00
ServerState.cpp refactor ServerState constructor 2022-03-01 17:52:58 -08:00
ServerState.h refactor ServerState constructor 2022-03-01 17:52:58 -08:00
Traverse.cpp fs: fix license header 2022-01-04 15:00:07 -08:00
Traverse.h fix some laziness in the include structure 2022-03-03 12:11:31 -08:00
TreeInode.cpp do not report conflicts if a file's object ID has changed but the contents have not 2022-03-09 10:52:48 -08:00
TreeInode.h Add a thrift method to rm a pah and flush overlay in the end 2022-03-07 15:07:12 -08:00
TreePrefetchLease.cpp fs: fix license header 2022-01-04 15:00:07 -08:00
TreePrefetchLease.h getRequestInfo return pointer instead of reference 2022-03-02 20:04:11 -08:00