[darcs-users] bug report: darcs replace does the reverse of expected?

zooko at zooko.com zooko at zooko.com
Tue Oct 19 19:54:19 UTC 2004


Uh-- the first token is OLD and the second one is NEW.  What am I missing?

HACK pion:~/playground/shtoom/philbranch/Shtoom/shtoom$ darcs whatsnew
No changes!
HACK pion:~/playground/shtoom/philbranch/Shtoom/shtoom$ darcs replace startSendingAndReceiving start ./shtoom/app/doug.py
Skipping file 'Shtoom/shtoom/shtoom/app/doug.py'
Perhaps the recorded version of this file already contains 'start'?
HACK pion:~/playground/shtoom/philbranch/Shtoom/shtoom$ darcs replace --force startSendingAndReceiving start ./shtoom/app/doug.py
HACK pion:~/playground/shtoom/philbranch/Shtoom/shtoom$ darcs whatsnew
{
{
{
hunk ./Shtoom/shtoom/shtoom/app/doug.py 48
-    def start(self):
+    def startSendingAndReceiving(self):
hunk ./Shtoom/shtoom/shtoom/app/doug.py 177
-            start = (ord(data[1]) & 128) and True or False
-            print "got dtmf", key, start
-            if start:
+            startSendingAndReceiving = (ord(data[1]) & 128) and True or False
+            print "got dtmf", key, startSendingAndReceiving
+            if startSendingAndReceiving:
}
replace ./Shtoom/shtoom/shtoom/app/doug.py [A-Za-z_0-9] startSendingAndReceiving start
}
}





More information about the darcs-users mailing list