mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
osc revert, how to do it?
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 <ruediger.meier@ga-group.nl> Date: Fri, 9 Sep 2011 19:08:50 +0200 Subject: [PATCH] - do_revert: add help msg about reverting wc entirely
This commit is contained in:
parent
5007751215
commit
57329183d1
@ -6976,12 +6976,11 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
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 <modified file(s)>
|
||||
|
||||
Note: this only works for files in a package working copy
|
||||
ose revert .
|
||||
|
||||
${cmd_usage}
|
||||
${cmd_option_list}
|
||||
|
Loading…
Reference in New Issue
Block a user