tests/test-purge-ignored-directory.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Thu, 24 Nov 2022 04:04:19 +0100
changeset 49670 2fd8750f3722
parent 49423 7e5377bdb66e
permissions -rw-r--r--
emitrevision: if we need to compute a delta on the fly, try p1 or p2 first Falling back to `prev` does not yield any real value on modern storage and result in pathological changes to be created on the other side. Doing a delta against a parent will likely be smaller (helping the network) and will be safer to apply on the client (helping future pulls by Triggering intermediate snapshop where they will be needed by later deltas).
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
49422
55f8f3b6787f test: show how purge removes ignored directories
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents:
diff changeset
     1
skip ignored directories if -i or --all not specified
55f8f3b6787f test: show how purge removes ignored directories
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents:
diff changeset
     2
55f8f3b6787f test: show how purge removes ignored directories
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents:
diff changeset
     3
  $ hg init t
55f8f3b6787f test: show how purge removes ignored directories
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents:
diff changeset
     4
  $ cd t
55f8f3b6787f test: show how purge removes ignored directories
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents:
diff changeset
     5
  $ echo 'ignored' > .hgignore
55f8f3b6787f test: show how purge removes ignored directories
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents:
diff changeset
     6
  $ hg ci -qA -m init -d'2 0'
55f8f3b6787f test: show how purge removes ignored directories
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents:
diff changeset
     7
  $ mkdir ignored
49423
7e5377bdb66e rust-status: ignored directories are now correctly only listed if opted into
Raphaël Gomès <rgomes@octobus.net>
parents: 49422
diff changeset
     8
  $ ls
7e5377bdb66e rust-status: ignored directories are now correctly only listed if opted into
Raphaël Gomès <rgomes@octobus.net>
parents: 49422
diff changeset
     9
  ignored
49422
55f8f3b6787f test: show how purge removes ignored directories
Arseniy Alekseyev <aalekseyev@janestreet.com>
parents:
diff changeset
    10
  $ hg purge -v --no-confirm
49423
7e5377bdb66e rust-status: ignored directories are now correctly only listed if opted into
Raphaël Gomès <rgomes@octobus.net>
parents: 49422
diff changeset
    11
  $ ls
7e5377bdb66e rust-status: ignored directories are now correctly only listed if opted into
Raphaël Gomès <rgomes@octobus.net>
parents: 49422
diff changeset
    12
  ignored