aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pomu/util/fs.py')
-rw-r--r--pomu/util/fs.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/pomu/util/fs.py b/pomu/util/fs.py
index 5d25ec5..7016717 100644
--- a/pomu/util/fs.py
+++ b/pomu/util/fs.py
@@ -11,6 +11,11 @@ def strip_prefix(string, prefix):
return string
def remove_file(repo, dst):
- """Removes a file from a repository"""
+ """
+ Removes a file from a repository (adding changes to the index)
+ Parameters:
+ repo - the repo
+ dst - the file
+ """
repo.index.remove(dst)
os.remove(dst)