]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blob - misc/test-darcs-boringfile.py
619a4e448c93db4d4b820fb7f33f009dddb46162
[tahoe-lafs/tahoe-lafs.git] / misc / test-darcs-boringfile.py
1 #!/usr/bin/env python
2
3 import sys
4 from subprocess import Popen, PIPE
5
6 cmd = ["darcs", "whatsnew", "-l"]
7 p = Popen(cmd, stdout=PIPE)
8 output = p.communicate()[0]
9 print output
10 if output == "No changes!\n":
11     sys.exit(0)
12 sys.exit(1)
13
14