Update takeback doc
This commit is contained in:
+4
-3
@@ -285,10 +285,11 @@ def install(packages, reinstall=False, ignore_file_conflicts=False):
|
|||||||
|
|
||||||
def takeback(operation):
|
def takeback(operation):
|
||||||
"""
|
"""
|
||||||
Takes the system back to the state after the given operation no from the pisi history.
|
Takes back the system to a previous state. Uses pisi history to find out which packages were
|
||||||
@param operation: operation number -> integer
|
installed at the time _after_ the given operation that the system is requested to be taken back.
|
||||||
|
@param operation: number of the operation that the system will be taken back -> integer
|
||||||
"""
|
"""
|
||||||
|
|
||||||
historydb = pisi.db.historydb.HistoryDB()
|
historydb = pisi.db.historydb.HistoryDB()
|
||||||
historydb.create_history("takeback")
|
historydb.create_history("takeback")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user