mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 23:07:18 +03:00
2ff13f445f
Summary: See the previous diff for context. Those tests are migrated back via the script with some manual edits. Reviewed By: sggutier Differential Revision: D35102166 fbshipit-source-id: cc4cf66de00e7bd57897483a3656c2bedfca8eb3
35 lines
575 B
Perl
35 lines
575 B
Perl
#debugruntest-compatible
|
|
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
# Copyright (c) Mercurial Contributors.
|
|
#
|
|
# This software may be used and distributed according to the terms of the
|
|
# GNU General Public License version 2 or any later version.
|
|
|
|
# https://bz.mercurial-scm.org/1089
|
|
|
|
$ hg init repo
|
|
$ cd repo
|
|
$ mkdir a
|
|
$ echo a > a/b
|
|
$ hg ci -Am m
|
|
adding a/b
|
|
|
|
$ hg rm a
|
|
removing a/b
|
|
$ hg ci -m m a
|
|
|
|
$ mkdir a b
|
|
$ echo a > a/b
|
|
$ hg ci -Am m
|
|
adding a/b
|
|
|
|
$ hg rm a
|
|
removing a/b
|
|
$ cd b
|
|
|
|
# Relative delete:
|
|
|
|
$ hg ci -m m ../a
|
|
|
|
$ cd ..
|