tests/test-mq-qclone-http.t
author Mark Thomas <mbthomas@fb.com>
Fri, 24 Nov 2017 12:53:58 -0800
branchstable
changeset 35171 b85962350bb3
parent 34661 eb586ed5d8ce
child 37845 b4b7427b5786
permissions -rw-r--r--
merge: cache unknown dir checks (issue5716) As mentioned in D1222, the recent pathconflicts change regresses update performance in large repositories when many files are being updated. To mitigate this, we introduce two caches of directories that have already found to be either: - unknown directories, but which are not aliased by files and so don't need to be checked if they are files again; and - missing directores, which cannot cause path conflicts, and cannot contain a file that causes a path conflict. When checking the paths of a file, testing against this caches means we can skip tests that involve touching the filesystem. Differential Revision: https://phab.mercurial-scm.org/D1224
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
22046
7a9cbb315d84 tests: replace exit 80 with #require
Matt Mackall <mpm@selenic.com>
parents: 17565
diff changeset
     1
#require killdaemons
6205
b193a6e59131 mq: test for qclone of http repo+queue
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff changeset
     2
17015
73d20de5f30b tests: add missing no-outer-repo requirements
Mads Kiilerich <mads@kiilerich.com>
parents: 16017
diff changeset
     3
hide outer repo
73d20de5f30b tests: add missing no-outer-repo requirements
Mads Kiilerich <mads@kiilerich.com>
parents: 16017
diff changeset
     4
  $ hg init
73d20de5f30b tests: add missing no-outer-repo requirements
Mads Kiilerich <mads@kiilerich.com>
parents: 16017
diff changeset
     5
12463
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
     6
  $ echo "[extensions]" >> $HGRCPATH
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
     7
  $ echo "mq=" >> $HGRCPATH
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
     8
  $ mkdir webdir
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
     9
  $ cd webdir
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    10
  $ hg init a
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    11
  $ hg --cwd a qinit -c
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    12
  $ echo a > a/a
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    13
  $ hg --cwd a ci -A -m a
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    14
  adding a
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    15
  $ echo b > a/b
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    16
  $ hg --cwd a addremove
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    17
  adding b
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    18
  $ hg --cwd a qnew -f b.patch
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    19
  $ hg --cwd a qcommit -m b.patch
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    20
  $ hg --cwd a log --template "{desc}\n"
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    21
  [mq]: b.patch
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    22
  a
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    23
  $ hg --cwd a/.hg/patches log --template "{desc}\n"
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    24
  b.patch
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    25
  $ root=`pwd`
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    26
  $ cd ..
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    27
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    28
test with recursive collection
6205
b193a6e59131 mq: test for qclone of http repo+queue
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff changeset
    29
12463
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    30
  $ cat > collections.conf <<EOF
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    31
  > [paths]
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    32
  > /=$root/**
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    33
  > EOF
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    34
  $ hg serve -p $HGPORT -d --pid-file=hg.pid --webdir-conf collections.conf \
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    35
  >     -A access-paths.log -E error-paths-1.log
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    36
  $ cat hg.pid >> $DAEMON_PIDS
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 22046
diff changeset
    37
  $ get-with-headers.py localhost:$HGPORT '?style=raw'
12463
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    38
  200 Script output follows
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    39
  
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    40
  
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    41
  /a/
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    42
  /a/.hg/patches/
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    43
  
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    44
  $ hg qclone http://localhost:$HGPORT/a b
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    45
  requesting all changes
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    46
  adding changesets
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    47
  adding manifests
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    48
  adding file changes
16017
2605fc990725 mq: add secret setting
Matt Mackall <mpm@selenic.com>
parents: 15926
diff changeset
    49
  added 2 changesets with 2 changes to 2 files
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 25474
diff changeset
    50
  new changesets cb9a9f314b8b:184916345baa
12463
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    51
  requesting all changes
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    52
  adding changesets
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    53
  adding manifests
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    54
  adding file changes
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    55
  added 1 changesets with 3 changes to 3 files
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 25474
diff changeset
    56
  new changesets 4052ceaa8c4e
12463
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    57
  updating to branch default
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    58
  3 files updated, 0 files merged, 0 files removed, 0 files unresolved
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    59
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    60
  $ hg --cwd b log --template "{desc}\n"
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    61
  a
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    62
  $ hg --cwd b qpush -a
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    63
  applying b.patch
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    64
  now at: b.patch
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    65
  $ hg --cwd b log --template "{desc}\n"
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    66
  imported patch b.patch
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    67
  a
7525
6a49fa7674c1 hgweb: mq repos should be in non-recursive collections, too
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7524
diff changeset
    68
12463
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    69
test with normal collection
6205
b193a6e59131 mq: test for qclone of http repo+queue
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff changeset
    70
12463
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    71
  $ cat > collections1.conf <<EOF
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    72
  > [paths]
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    73
  > /=$root/*
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    74
  > EOF
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    75
  $ hg serve -p $HGPORT1 -d --pid-file=hg.pid --webdir-conf collections1.conf \
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    76
  >     -A access-paths.log -E error-paths-1.log
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    77
  $ cat hg.pid >> $DAEMON_PIDS
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 22046
diff changeset
    78
  $ get-with-headers.py localhost:$HGPORT1 '?style=raw'
12463
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    79
  200 Script output follows
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    80
  
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    81
  
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    82
  /a/
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    83
  /a/.hg/patches/
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    84
  
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    85
  $ hg qclone http://localhost:$HGPORT1/a c
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    86
  requesting all changes
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    87
  adding changesets
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    88
  adding manifests
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    89
  adding file changes
16017
2605fc990725 mq: add secret setting
Matt Mackall <mpm@selenic.com>
parents: 15926
diff changeset
    90
  added 2 changesets with 2 changes to 2 files
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 25474
diff changeset
    91
  new changesets cb9a9f314b8b:184916345baa
12463
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    92
  requesting all changes
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    93
  adding changesets
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    94
  adding manifests
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    95
  adding file changes
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    96
  added 1 changesets with 3 changes to 3 files
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 25474
diff changeset
    97
  new changesets 4052ceaa8c4e
12463
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    98
  updating to branch default
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
    99
  3 files updated, 0 files merged, 0 files removed, 0 files unresolved
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   100
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   101
  $ hg --cwd c log --template "{desc}\n"
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   102
  a
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   103
  $ hg --cwd c qpush -a
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   104
  applying b.patch
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   105
  now at: b.patch
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   106
  $ hg --cwd c log --template "{desc}\n"
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   107
  imported patch b.patch
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   108
  a
7525
6a49fa7674c1 hgweb: mq repos should be in non-recursive collections, too
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7524
diff changeset
   109
12463
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   110
test with old-style collection
7524
7fc19b12cb6b tests: fix test-mq-qclone-http (broken by e60aaae83323)
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 6205
diff changeset
   111
12463
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   112
  $ cat > collections2.conf <<EOF
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   113
  > [collections]
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   114
  > $root=$root
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   115
  > EOF
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   116
  $ hg serve -p $HGPORT2 -d --pid-file=hg.pid --webdir-conf collections2.conf \
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   117
  >     -A access-paths.log -E error-paths-1.log
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   118
  $ cat hg.pid >> $DAEMON_PIDS
25472
4d2b9b304ad0 tests: drop explicit $TESTDIR from executables
Matt Mackall <mpm@selenic.com>
parents: 22046
diff changeset
   119
  $ get-with-headers.py localhost:$HGPORT2 '?style=raw'
12463
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   120
  200 Script output follows
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   121
  
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   122
  
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   123
  /a/
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   124
  /a/.hg/patches/
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   125
  
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   126
  $ hg qclone http://localhost:$HGPORT2/a d
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   127
  requesting all changes
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   128
  adding changesets
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   129
  adding manifests
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   130
  adding file changes
16017
2605fc990725 mq: add secret setting
Matt Mackall <mpm@selenic.com>
parents: 15926
diff changeset
   131
  added 2 changesets with 2 changes to 2 files
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 25474
diff changeset
   132
  new changesets cb9a9f314b8b:184916345baa
12463
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   133
  requesting all changes
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   134
  adding changesets
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   135
  adding manifests
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   136
  adding file changes
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   137
  added 1 changesets with 3 changes to 3 files
34661
eb586ed5d8ce transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Denis Laxalde <denis.laxalde@logilab.fr>
parents: 25474
diff changeset
   138
  new changesets 4052ceaa8c4e
12463
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   139
  updating to branch default
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   140
  3 files updated, 0 files merged, 0 files removed, 0 files unresolved
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   141
  1 files updated, 0 files merged, 0 files removed, 0 files unresolved
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   142
  $ hg --cwd d log --template "{desc}\n"
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   143
  a
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   144
  $ hg --cwd d qpush -a
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   145
  applying b.patch
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   146
  now at: b.patch
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   147
  $ hg --cwd d log --template "{desc}\n"
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   148
  imported patch b.patch
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   149
  a
7525
6a49fa7674c1 hgweb: mq repos should be in non-recursive collections, too
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7524
diff changeset
   150
12463
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   151
test --mq works and uses correct repository config
7525
6a49fa7674c1 hgweb: mq repos should be in non-recursive collections, too
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 7524
diff changeset
   152
12463
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   153
  $ hg --cwd d outgoing --mq
12643
d08bb64888bc tests: reintroduce ":$HGPORT" in test output
Mads Kiilerich <mads@kiilerich.com>
parents: 12463
diff changeset
   154
  comparing with http://localhost:$HGPORT2/a/.hg/patches
12463
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   155
  searching for changes
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   156
  no changes found
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   157
  [1]
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   158
  $ hg --cwd d log --mq --template '{rev} {desc|firstline}\n'
9f551ca3bb44 tests: unify test-mq-qclone-http
Matt Mackall <mpm@selenic.com>
parents: 10442
diff changeset
   159
  0 b.patch
17565
f62ed3d90377 tests: enable even more Windows server tests
Patrick Mezard <patrick@mezard.eu>
parents: 17017
diff changeset
   160
25474
8c14f87bd0ae tests: drop DAEMON_PIDS from killdaemons calls
Matt Mackall <mpm@selenic.com>
parents: 25472
diff changeset
   161
  $ killdaemons.py
17565
f62ed3d90377 tests: enable even more Windows server tests
Patrick Mezard <patrick@mezard.eu>
parents: 17017
diff changeset
   162