Mailinglist Archive: opensuse-buildservice (124 mails)
< Previous | Next > |
Re: [opensuse-buildservice] osc diff complains about missing files
- From: Marcus Hüwe <suse-tux@xxxxxx>
- Date: Wed, 6 Mar 2013 17:09:27 +0100
- Message-id: <20130306160926.GA4801@linux.uni-paderborn.de>
On 2013-03-06 15:33:08 +0100, Olaf Hering wrote:
abort in this case because the user wants to diff the complete working
copy which isn't possible due to missing some files. Diffing "existent"
files is still possible (osc diff foo bar...).
If there's a good reason we can of course change the default behavior
(note: svn also aborts in such a situation).
Marcus
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx
Hmm that's probably highly subjective... IMHO it is more appropriate to
The 'osc diff' command from osc-0.139.1 complains about missing files if
files from an earlier 'osc ar' were removed.
I think 'osc diff' should be more forgiving and diff just whats (still) there.
abort in this case because the user wants to diff the complete working
copy which isn't possible due to missing some files. Diffing "existent"
files is still possible (osc diff foo bar...).
If there's a good reason we can of course change the default behavior
(note: svn also aborts in such a situation).
# rm release-1.tar.bz2
# wget host/pub/release-2.tar.bz2
# sed -i 's@^Version:.*@Version: 2@g' *.spec
# osc ar
# sleep $((60 * 60 * 24 * $n))
# rm release-2.tar.bz2
# wget host/pub/release-3.tar.bz2
# sed -i 's@^Version:.*@Version: 3@g' *.spec
# osc diff
file 'release-2.tar.bz2' is marked as 'A' but does not exist
(either add the missing file or revert it)
#
Marcus
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx
< Previous | Next > |