[opensuse-buildservice] osc revert?
![](https://seccdn.libravatar.org/avatar/95bf8795d2703f0024d688dc0dfa2ad5.jpg?s=120&d=mm&r=g)
Hi, % osc add foo # fck, foo is wrong, that should be bar % cp foo bar % osc add bar % osc rm foo 'foo' is not under version control What should I do now? In svn, I would use 'svn revert'. There's no 'osc revert'. Bernhard -- Bernhard Walle, SUSE Linux Products GmbH, Architecture Development -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/c2245049e7e6a67166114fef782634e3.jpg?s=120&d=mm&r=g)
Hi,
On 1/16/2009 at 2:05 PM, Bernhard Walle <bwalle@suse.de> wrote: Hi,
% osc add foo # fck, foo is wrong, that should be bar % cp foo bar % osc add bar % osc rm foo 'foo' is not under version control
If you, instead of cp foo bar do a mv foo bar then the 'problem' is already solved... you only have to osc add bar then. the result would be the same, as osc rm foo will delete the file anyhow too... Dominique PS: Disclaimer: That's my best knowledge about it and may be as wrong as 1>2 ;) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/95bf8795d2703f0024d688dc0dfa2ad5.jpg?s=120&d=mm&r=g)
* Dominique Leuenberger [2009-01-16 14:10]:
Hi,
On 1/16/2009 at 2:05 PM, Bernhard Walle <bwalle@suse.de> wrote: Hi,
% osc add foo # fck, foo is wrong, that should be bar % cp foo bar % osc add bar % osc rm foo 'foo' is not under version control
If you, instead of cp foo bar do a mv foo bar then the 'problem' is already solved... you only have to osc add bar then.
the result would be the same, as osc rm foo will delete the file anyhow too...
That's true, 'osc' doesn't have problem with stalled files that are not committed. Did not know that. Thanks. Bernhard -- Bernhard Walle, SUSE Linux Products GmbH, Architecture Development -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Bernhard Walle
-
Dominique Leuenberger