Show More
@@ -923,7 +923,7 b' def selectfile(afile_orig, bfile_orig, h' | |||||
923 | if afile == bfile: |
|
923 | if afile == bfile: | |
924 | goodb = gooda |
|
924 | goodb = gooda | |
925 | else: |
|
925 | else: | |
926 | goodb = not nullb and os.path.exists(bfile) |
|
926 | goodb = not nullb and os.path.lexists(bfile) | |
927 | createfunc = hunk.createfile |
|
927 | createfunc = hunk.createfile | |
928 | missing = not goodb and not gooda and not createfunc() |
|
928 | missing = not goodb and not gooda and not createfunc() | |
929 |
|
929 |
@@ -55,3 +55,14 b' hg qrefresh --git' | |||||
55 | hg qpop |
|
55 | hg qpop | |
56 | hg qpush |
|
56 | hg qpush | |
57 | hg st -c |
|
57 | hg st -c | |
|
58 | ||||
|
59 | echo '% replace broken symlink with another broken symlink' | |||
|
60 | ln -s linka linka | |||
|
61 | hg add linka | |||
|
62 | hg qnew link | |||
|
63 | hg mv linka linkb | |||
|
64 | ln -sf linkb linkb | |||
|
65 | hg qnew movelink | |||
|
66 | hg qpop | |||
|
67 | hg qpush | |||
|
68 | $TESTDIR/readlink.py linkb |
General Comments 0
You need to be logged in to leave comments.
Login now