

Public Member Functions | |
| def | __init__ |
| def | is_controlled |
| def | is_modified |
| def | get_latest |
| def | control |
| def | release |
| def | make_file |
| def | make_directory |
| def | remove |
| def | rename |
| def | clone |
Static Public Attributes | |
| tuple | rules = ('_darcs',) |
Definition at line 16 of file darcs.py.
| def encode.darcs.Controller.__init__ | ( | self, | ||
| path | ||||
| ) |
| def encode.darcs.Controller.clone | ( | self, | ||
| old_name, | ||||
| new_name, | ||||
control = True | ||||
| ) |
Copy OLD_NAME to NEW_NAME. If OLD_NAME is a directory, its contents should be copied. Register the created files and directories with the system if CONTROL is set.
Reimplemented from encode.filesystem.Controller.
| def encode.darcs.Controller.control | ( | self, | ||
| name, | ||||
recursive = False | ||||
| ) |
Register NAME with the system. If recursive is set and NAME is a directory, its contents should be registered.
Reimplemented from encode.project.ControllerExtension.
| def encode.darcs.Controller.get_latest | ( | self, | ||
| name | ||||
| ) |
Get the contents of the last version of NAME that is known to the system.
Reimplemented from encode.project.ControllerExtension.
| def encode.darcs.Controller.is_controlled | ( | self, | ||
| name | ||||
| ) |
| def encode.darcs.Controller.is_modified | ( | self, | ||
| name | ||||
| ) |
Has NAME been modified since the last version known to the system?
Reimplemented from encode.project.ControllerExtension.
| def encode.darcs.Controller.make_directory | ( | self, | ||
| name, | ||||
control = True | ||||
| ) |
Create the NAME directory. Register it with the system if CONTROL is set.
Reimplemented from encode.filesystem.Controller.
| def encode.darcs.Controller.make_file | ( | self, | ||
| name, | ||||
control = True | ||||
| ) |
Create the empty NAME file. Register it with the system if CONTROL is set.
Reimplemented from encode.filesystem.Controller.
| def encode.darcs.Controller.release | ( | self, | ||
| name | ||||
| ) |
Unregister NAME from the system. If NAME is a directory, its contents should be unregistered.
Reimplemented from encode.project.ControllerExtension.
| def encode.darcs.Controller.remove | ( | self, | ||
| name, | ||||
control = True | ||||
| ) |
Delete NAME. If NAME is a directory, its contents should be deleted. Unregister it from the system if CONTROL is set.
Reimplemented from encode.filesystem.Controller.
| def encode.darcs.Controller.rename | ( | self, | ||
| old_name, | ||||
| new_name, | ||||
control = True | ||||
| ) |
Rename OLD_NAME as NEW_NAME. Update the change to the system if CONTROL is set.
Reimplemented from encode.filesystem.Controller.
tuple encode.darcs.Controller.rules = ('_darcs',) [static] |
1.4.7