summaryrefslogtreecommitdiffstats
path: root/Demo
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-06-23 22:33:57 (GMT)
committerGuido van Rossum <guido@python.org>1995-06-23 22:33:57 (GMT)
commit903afd0441512e879b7a87dd63bca6d4b1595009 (patch)
tree1afd929f567372bdd029b3ede902cf31b1a81a39 /Demo
parentc503c97f1afb78db5731348c8331f00e4c6acd6e (diff)
downloadcpython-903afd0441512e879b7a87dd63bca6d4b1595009.zip
cpython-903afd0441512e879b7a87dd63bca6d4b1595009.tar.gz
cpython-903afd0441512e879b7a87dd63bca6d4b1595009.tar.bz2
add bug comment
Diffstat (limited to 'Demo')
-rwxr-xr-xDemo/pdist/rcvs.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/Demo/pdist/rcvs.py b/Demo/pdist/rcvs.py
index c44010f..46f41a8 100755
--- a/Demo/pdist/rcvs.py
+++ b/Demo/pdist/rcvs.py
@@ -4,8 +4,11 @@
# XXX To do:
#
+# Bugs:
+# - if the remote file is deleted, "rcvs update" will fail
+#
# Functionality:
-# - descend into directories
+# - descend into directories (alraedy done for update)
# - cvs add; cvs rm
# - commit new files
# - conflict resolution
@@ -188,6 +191,7 @@ class MyFile(File):
def put(self, message = ""):
print "Checking in", self.file, "..."
data = open(self.file).read()
+ self.proxy.lock(self.file)
messages = self.proxy.put(self.file, data, message)
if messages:
print messages
@@ -314,7 +318,7 @@ class RCVS(CVS):
class rcvs(CommandFrameWork):
- GlobalFlags = 'd:h:p:qv'
+ GlobalFlags = 'd:h:p:qvL'
UsageMessage = \
"usage: rcvs [-d directory] [-h host] [-p port] [-q] [-v] [subcommand arg ...]"
PostUsageMessage = \