tests/test-symlinks.out
branchstable
changeset 12795 3cb0559e44d0
parent 12793 469850088fc1
parent 12794 6bf8d48bec8e
child 12796 bc69ba99e34b
equal deleted inserted replaced
12793:469850088fc1 12795:3cb0559e44d0
     1 adding bar
       
     2 adding foo
       
     3 adding bomb
       
     4 adding a.c
       
     5 adding dir/a.o
       
     6 adding dir/b.o
       
     7 M dir/b.o
       
     8 ! a.c
       
     9 ! dir/a.o
       
    10 ? .hgignore
       
    11 a.c: unsupported file type (type is fifo)
       
    12 ! a.c
       
    13 # test absolute path through symlink outside repo
       
    14 A f
       
    15 # try symlink outside repo to file inside
       
    16 abort: ../z not under root
       
    17 # try cloning symlink in a subdir
       
    18 1. commit a symlink
       
    19 ? a/b/c/demo
       
    20 adding a/b/c/demo
       
    21 2. clone it
       
    22 updating to branch default
       
    23 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
       
    24 # git symlink diff
       
    25 diff --git a/a/b/c/demo b/a/b/c/demo
       
    26 new file mode 120000
       
    27 --- /dev/null
       
    28 +++ b/a/b/c/demo
       
    29 @@ -0,0 +1,1 @@
       
    30 +/path/to/symlink/source
       
    31 \ No newline at end of file
       
    32 # import git symlink diff
       
    33 applying ../sl.diff
       
    34 diff --git a/a/b/c/demo b/a/b/c/demo
       
    35 new file mode 120000
       
    36 --- /dev/null
       
    37 +++ b/a/b/c/demo
       
    38 @@ -0,0 +1,1 @@
       
    39 +/path/to/symlink/source
       
    40 \ No newline at end of file