Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

from jw:

  * accept .orig and ~ files in working directories.
  * UI consistency improved.
  • Loading branch information...
commit 4f2521aa4da496f8738b958e24ea133ff75da9f6 1 parent 0788d0a
Ruediger Oertel bugfinder authored

Showing 1 changed file with 7 additions and 3 deletions. Show diff stats Hide diff stats

  1. +7 3 20-files-present-and-referenced
10 20-files-present-and-referenced
@@ -254,6 +254,8 @@ for i in $DIR_TO_CHECK/* $DIR_TO_CHECK/.* ; do
254 254 *.dsc | \
255 255 ready | \
256 256 _* | \
  257 + *.orig | \
  258 + *~ | \
257 259 .gitignore)
258 260 ;;
259 261 *)
@@ -264,11 +266,13 @@ for i in $DIR_TO_CHECK/* $DIR_TO_CHECK/.* ; do
264 266 if [ ! -d $DIR_TO_CHECK/.osc ] ; then
265 267 echo "!! $BASE is a directory !!"
266 268 if test "$BATCHMODE" != true ; then
267   - echo "remove the whole subtree with 'd'"
268   - echo -n "Is this correct? [N/y/d] (y to ignore) "
  269 + echo " remove subtree with 'r'"
  270 + echo "ignore and continue with 'y'"
  271 + echo -n "Is this correct? [N/y/r] "
269 272 read ANSWER
270 273 test "$ANSWER" = y -o "$ANSWER" = Y || {
271   - if test "$ANSWER" = d -o "$ANSWER" = D ; then
  274 + # r for remove is also accepted, to make it compatible with osc itself
  275 + if test "$ANSWER" = d -o "$ANSWER" = D -o "$ANSWER" = r -o "$ANSWER" = R; then
272 276 rm -Rfv $DIR_TO_CHECK/$BASE
273 277 else
274 278 echo ok, please fix it...

0 comments on commit 4f2521a

Please sign in to comment.
Something went wrong with that request. Please try again.