On Friday 09 September 2011, Marcus Hüwe wrote:
Is this the supposed behavior?
No - I just fixed it in git master.
Thx!
BTW
even I've investigated it for svn (because osc may supposed to be similar).
But the misbehavior is the same there. Do you think that's a bug in svn too?
At least svn reverts completely when doing
svn revert -R .
Probably would be also nice to say something about it in osc revert --help,
e.g. like this
From 3fa9bb1ac29c623f8ee24f435e7eebd073273e1a Mon Sep 17 00:00:00 2001
From: Ruediger Meier
Date: Fri, 9 Sep 2011 19:08:50 +0200
Subject: [PATCH] - do_revert: add help msg about reverting wc entirely
---
osc/commandline.py | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/osc/commandline.py b/osc/commandline.py
index 87c96e7..b221ae7 100644
--- a/osc/commandline.py
+++ b/osc/commandline.py
@@ -6976,12 +6976,11 @@
print '\'%s\': \'%s\' is set to \'%s\'' % (section, opt, newval)
def do_revert(self, subcmd, opts, *files):
- """${cmd_name}: restore original wc file
+ """${cmd_name}: Restore changed files or the entire working copy.
Examples:
osc revert
-
- Note: this only works for files in a package working copy
+ ose revert .
${cmd_usage}
${cmd_option_list}
--
1.7.3.4
cu,
Rudi
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-buildservice+help@opensuse.org