Mailinglist Archive: opensuse-bugs (7182 mails)

< Previous Next >
[Bug 353297] return value of ‘o sc diff’ is always
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 22 Jan 2008 04:35:02 -0700 (MST)
  • Message-id: <20080122113502.EF34424538D@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=353297

User poeml@xxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=353297#c1


Peter Poeml <poeml@xxxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC|
|suse-tux@xxxxxx
Status|NEW |NEEDINFO
Info Provider|
|mfabian@xxxxxxxxxx




--- Comment #1 from Peter Poeml <poeml@xxxxxxxxxx> 2008-01-22 04:35:02 MST ---
This feature got lost with the rework in commit 2644.

That commit made "diff" more svn like. Indeed, svn doesn't return 1 or 0
depending on the existance of local modifications.

Do you really want to use "osc diff" (generating a diff) when you just
want to know if there are local changes? Wouldn't it be easier to just
check with "osc status | grep '^M'" ? That's more efficient, and it is a
well-defined way.

I was never for exiting 1, but I somehow got talked into it, and of
course there weren't really reasons to not do it. Except that it causes
work for somebody now ;)

Would be interesting to gather opinions from the opensuse-buildservice
mailing list about this.

What do you think, Mike, apart from the fact that your script broke?


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
References