Patchwork D8462: test-status: test that '.hg' does not show up even as a symlink

login
register
mail settings
Submitter phabricator
Date April 20, 2020, 9:22 a.m.
Message ID <differential-rev-PHID-DREV-xpymsqroeeov5qesnpnd-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/46192/
State Superseded
Headers show

Comments

phabricator - April 20, 2020, 9:22 a.m.
Alphare created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

BRANCH
  stable

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

AFFECTED FILES
  tests/test-status.t

CHANGE DETAILS




To: Alphare, #hg-reviewers
Cc: mercurial-devel
phabricator - April 22, 2020, 4:18 p.m.
Herald added a subscriber: mercurial-patches.
This revision now requires changes to proceed.
marmoute added a comment.
marmoute requested changes to this revision.


  please fold this in the previous patch

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8462/new/

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

To: Alphare, #hg-reviewers, marmoute
Cc: marmoute, mercurial-patches, mercurial-devel
phabricator - April 23, 2020, 8:03 a.m.
Alphare added a comment.
Alphare abandoned this revision.


  Folded into the previous patch.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8462/new/

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

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

Patch

diff --git a/tests/test-status.t b/tests/test-status.t
--- a/tests/test-status.t
+++ b/tests/test-status.t
@@ -672,3 +672,11 @@ 
   
 
   $ cd ..
+
+Make sure .hg doesn't show up even as a symlink
+
+  $ hg init repo0
+  $ mkdir symlink-repo0
+  $ cd symlink-repo0
+  $ ln -s ../repo0/.hg
+  $ hg status