~ubuntu-dev/ubuntu/lucid/quilt/lucid-201002110858

« back to all changes in this revision

Viewing changes to test/remove.test

  • Committer: Bazaar Package Importer
  • Author(s): Martin Quinson
  • Date: 2005-03-23 11:10:07 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050323111007-p47150ucnnuyc07p
Tags: 0.39-2
* Pass -p $opt_strip_level option to diffstat in refresh command.
  (Closes: #298785)
* fixes from upstream cvs:
  - Add a missing "exit 1" to quilt/fold.in when no patches are applied.
  - typo in graph help message
  

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
        $ mkdir -p d/patches
 
2
        $ cd d
 
3
 
 
4
        $ echo f1 > f
 
5
        $ echo g1 > g
 
6
        $ quilt new p.diff
 
7
        > Patch patches/p.diff is now on top
 
8
 
 
9
        $ quilt add f g h
 
10
        > File f added to patch patches/p.diff
 
11
        > File g added to patch patches/p.diff
 
12
        > File h added to patch patches/p.diff
 
13
 
 
14
        $ echo h1 > h
 
15
        $ rm g
 
16
        $ quilt refresh
 
17
        > Refreshed patch patches/p.diff
 
18
 
 
19
        $ quilt remove f
 
20
        > File f removed from patch patches/p.diff
 
21
 
 
22
        $ quilt diff -z
 
23
        $ quilt pop -qf
 
24
        > Removing patch patches/p.diff
 
25
        > No patches applied
 
26
 
 
27
        $ quilt push -q
 
28
        > Applying patch patches/p.diff
 
29
        > Now at patch patches/p.diff
 
30
 
 
31
        $ quilt remove g
 
32
        > File g removed from patch patches/p.diff
 
33
 
 
34
        $ quilt diff -z
 
35
        $ quilt pop -qf
 
36
        > Removing patch patches/p.diff
 
37
        > No patches applied
 
38
 
 
39
        $ quilt push -q
 
40
        > Applying patch patches/p.diff
 
41
        > Now at patch patches/p.diff
 
42
 
 
43
        $ quilt remove h
 
44
        > File h removed from patch patches/p.diff
 
45
 
 
46
        $ quilt diff -z
 
47
 
 
48
        $ cd ..
 
49
        $ rm -rf d