diff options
Diffstat (limited to 'test/comments.test')
-rw-r--r-- | test/comments.test | 45 |
1 files changed, 39 insertions, 6 deletions
diff --git a/test/comments.test b/test/comments.test index 680414b..0918443 100644 --- a/test/comments.test +++ b/test/comments.test @@ -12,8 +12,8 @@ accidentally removed. < < Index: f < =================================================================== - < --- f.orig 2003-04-09 03:18:06.000000000 +0200 - < +++ f 2003-04-09 03:18:09.000000000 +0200 + < --- f.orig foo + < +++ f bar < @@ -1 +1 @@ < -one < +two @@ -22,14 +22,14 @@ accidentally removed. < test.diff -p0 $ quilt push - > Applying test.diff + > Applying patch %{P}test.diff > patching file f > - > Now at patch test.diff + > Now at patch %{P}test.diff $ quilt refresh - > Refreshed patch test.diff - $ sed -e "s/\\t.*//" patches/test.diff + > Refreshed patch %{P}test.diff + $ cat patches/test.diff > C1 > > C3 @@ -42,6 +42,39 @@ accidentally removed. > -one > +two + $ quilt refresh -c + > Refreshed patch %{P}test.diff + + $ cat patches/test.diff + > C1 + > + > C3 + > + > Index: f + > =================================================================== + > *** f.orig + > --- f + > *************** + > *** 1 **** + > ! one + > --- 1 ---- + > ! two + + $ quilt refresh + > Refreshed patch %{P}test.diff + + $ cat patches/test.diff + > C1 + > + > C3 + > + > Index: f + > =================================================================== + > --- f.orig + > +++ f + > @@ -1 +1 @@ + > -one + > +two $ cd .. $ rm -rf d |