summaryrefslogtreecommitdiffstats
path: root/Demo/pdist/rrcs.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/pdist/rrcs.py')
-rwxr-xr-xDemo/pdist/rrcs.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Demo/pdist/rrcs.py b/Demo/pdist/rrcs.py
index 02d4e97..70895ea 100755
--- a/Demo/pdist/rrcs.py
+++ b/Demo/pdist/rrcs.py
@@ -52,6 +52,7 @@ def checkin(x, copts, fn):
if not new and same(x, copts, fn, data):
print "%s: unchanged since last checkin" % fn
return
+ print "Checking in", fn, "..."
message = asklogmessage(new)
messages = x.put(fn, data, message)
if messages:
@@ -151,4 +152,5 @@ commands = {
'diff': ('c', diff),
}
-main()
+if __name__ == '__main__':
+ main()