Patchwork D10847: copyfile: add overlay in the whitelist for hardlink

login
register
mail settings
Submitter phabricator
Date June 9, 2021, 2:38 p.m.
Message ID <differential-rev-PHID-DREV-vdqqx2q45xfcoezxvcw5-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/49168/
State Superseded
Headers show

Comments

phabricator - June 9, 2021, 2:38 p.m.
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  This is the "default" file system for docker. We don't know if the hardlink
  will actually succeed, but the odds are good it will. They are a second layer
  of fallback in case the hardlink do not actually works.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D10847

AFFECTED FILES
  mercurial/util.py

CHANGE DETAILS




To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/mercurial/util.py b/mercurial/util.py
--- a/mercurial/util.py
+++ b/mercurial/util.py
@@ -1901,6 +1901,7 @@ 
     b'hfs',
     b'jfs',
     b'NTFS',
+    b'overlay',
     b'reiserfs',
     b'tmpfs',
     b'ufs',