call site 2 for path.svnwc.__eq__
path/svn/testing/test_wccommand.py - line 38
29
30
31
32
33
34
35
36
37
38
39
   def test_status_attributes_simple(self):
       def assert_nochange(p):
           s = p.status()
           assert not s.modified
           assert not s.prop_modified
           assert not s.added
           assert not s.deleted
   
       dpath = self.root.join('sampledir')
->     assert_nochange(self.root.join('sampledir'))
       assert_nochange(self.root.join('samplefile'))
path/svn/testing/test_wccommand.py - line 31
30
31
32
33
34
35
   def assert_nochange(p):
->     s = p.status()
       assert not s.modified
       assert not s.prop_modified
       assert not s.added
       assert not s.deleted
path/svn/wccommand.py - line 295
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
   def status(self, updates=0, rec=0, externals=0):
       """ return (collective) Status object for this file. """
       # http://svnbook.red-bean.com/book.html#svn-ch-3-sect-4.3.1
       #             2201     2192        jum   test
       # XXX
       if externals:
           raise ValueError("XXX cannot perform status() "
                            "on external items yet")
       else:
           #1.2 supports: externals = '--ignore-externals'
           externals = ''
       if rec:
           rec= ''
       else:
           rec = '--non-recursive'
   
       # XXX does not work on all subversion versions
       #if not externals: 
       #    externals = '--ignore-externals' 
   
       if updates:
           updates = '-u'
       else:
           updates = ''
   
       update_rev = None
   
       out = self._svn('status -v %s %s %s' % (updates, rec, externals))
       rootstatus = WCStatus(self)
       for line in out.split('\n'):
           if not line.strip():
               continue
           #print "processing %r" % line
           flags, rest = line[:8], line[8:]
           # first column
           c0,c1,c2,c3,c4,x5,x6,c7 = flags
           #if '*' in line:
           #    print "flags", repr(flags), "rest", repr(rest)
   
           if c0 in '?XI':
               fn = line.split(None, 1)[1]
               if c0 == '?':
                   wcpath = self.join(fn, abs=1)
                   rootstatus.unknown.append(wcpath)
               elif c0 == 'X':
                   wcpath = self.__class__(self.localpath.join(fn, abs=1))
                   rootstatus.external.append(wcpath)
               elif c0 == 'I':
                   wcpath = self.join(fn, abs=1)
                   rootstatus.ignored.append(wcpath)
   
               continue
   
           #elif c0 in '~!' or c4 == 'S':
           #    raise NotImplementedError("received flag %r" % c0)
   
           m = self._rex_status.match(rest)
           if not m:
               if c7 == '*':
                   fn = rest.strip()
                   wcpath = self.join(fn, abs=1)
                   rootstatus.update_available.append(wcpath)
                   continue
               if line.lower().find('against revision:')!=-1:
                   update_rev = int(rest.split(':')[1].strip())
                   continue
               # keep trying
               raise ValueError, "could not parse line %r" % line
           else:
               rev, modrev, author, fn = m.groups()
           wcpath = self.join(fn, abs=1)
           #assert wcpath.check()
           if c0 == 'M':
               assert wcpath.check(file=1), "didn't expect a directory with changed content here"
               rootstatus.modified.append(wcpath)
           elif c0 == 'A' or c3 == '+' :
               rootstatus.added.append(wcpath)
           elif c0 == 'D':
               rootstatus.deleted.append(wcpath)
           elif c0 == 'C':
               rootstatus.conflict.append(wcpath)
           elif c0 == '~':
               rootstatus.kindmismatch.append(wcpath)
           elif c0 == '!':
               rootstatus.incomplete.append(wcpath)
           elif not c0.strip():
               rootstatus.unchanged.append(wcpath)
           else:
               raise NotImplementedError("received flag %r" % c0)
   
           if c1 == 'M':
               rootstatus.prop_modified.append(wcpath)
           if c2 == 'L':
               rootstatus.locked.append(wcpath)
           if c7 == '*':
               rootstatus.update_available.append(wcpath)
   
->         if wcpath == self:
               rootstatus.rev = rev
               rootstatus.modrev = modrev
               rootstatus.author = author
               if update_rev:
                   rootstatus.update_rev = update_rev
               continue
       return rootstatus