Do not give permission to takeback system to the initial state which is always pardus-cd repository is updated. .
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2009-12-31 Serdar Dalgıç <serdar@pardus.org.tr>
|
||||||
|
* pisi/cli/history.py: Do not give permission to takeback system to
|
||||||
|
the initial state which is always `pardus-cd repository is updated.` .
|
||||||
|
|
||||||
2009-12-21 Gökçen Eraslan <gokcen@pardus.org.tr>
|
2009-12-21 Gökçen Eraslan <gokcen@pardus.org.tr>
|
||||||
* pisi/actionsapi/cmaketools.py: Change CMake build type to
|
* pisi/actionsapi/cmaketools.py: Change CMake build type to
|
||||||
RelWithDebInfo to get faster KDE packages.
|
RelWithDebInfo to get faster KDE packages.
|
||||||
|
|||||||
+4
-1
@@ -123,7 +123,10 @@ Lists previous operations.""")
|
|||||||
elif ctx.get_option('takeback'):
|
elif ctx.get_option('takeback'):
|
||||||
opno = ctx.get_option('takeback')
|
opno = ctx.get_option('takeback')
|
||||||
if opno != -1:
|
if opno != -1:
|
||||||
self.takeback(opno)
|
if opno == 1:
|
||||||
|
ctx.ui.error(_("You can not takeback your system to the initial state."))
|
||||||
|
else:
|
||||||
|
self.takeback(opno)
|
||||||
return
|
return
|
||||||
|
|
||||||
self.redirect_output(self.print_history)
|
self.redirect_output(self.print_history)
|
||||||
|
|||||||
Reference in New Issue
Block a user