Home | History | Annotate | Download | only in pdist

Lines Matching refs:fn

41     for fn in files:
43 func(x, copts, fn)
45 print "%s: %s" % (fn, msg)
47 def checkin(x, copts, fn):
48 f = open(fn)
51 new = not x.isvalid(fn)
52 if not new and same(x, copts, fn, data):
53 print "%s: unchanged since last checkin" % fn
55 print "Checking in", fn, "..."
57 messages = x.put(fn, data, message)
61 def checkout(x, copts, fn):
62 data = x.get(fn)
63 f = open(fn, 'w')
67 def lock(x, copts, fn):
68 x.lock(fn)
70 def unlock(x, copts, fn):
71 x.unlock(fn)
73 def info(x, copts, fn):
74 dict = x.info(fn)
81 def head(x, copts, fn):
82 head = x.head(fn)
83 print fn, head
85 def list(x, copts, fn):
86 if x.isvalid(fn):
87 print fn
89 def log(x, copts, fn):
94 messages = x.log(fn, flags)
97 def diff(x, copts, fn):
98 if same(x, copts, fn):
104 data = x.get(fn)
108 print 'diff %s -r%s %s' % (flags, x.head(fn), fn)
109 sts = os.system('diff %s %s %s' % (flags, tf.name, fn))
113 def same(x, copts, fn, data = None):
115 f = open(fn)
119 rsum = x.sum(fn)
139 def remove(fn):
141 os.unlink(fn)