~bzr-pqm/bzr/bzr.dev

  • Committer: John Arbash Meinel
  • Date: 2007-03-01 21:56:19 UTC
  • mto: (2255.7.84 dirstate)
  • Revision ID: john@arbash-meinel.com-20070301215619-wpt6kz8yem3ypu1b
Update to dirstate locking.
Move all of WT4.lock_* functions locally, so that they can
properly interact and cleanup around when we lock/unlock the
dirstate file.
Change all Lock objects to be non-blocking. So that if someone
grabs a lock on the DirState we find out immediately, rather
than blocking.
Change WT4.unlock() so that if the dirstate is dirty, it will
save the contents even if it only has a read lock.
It does this by trying to take a write lock, if it fails
we just ignore it. If it succeeds, then we can flush to disk.
This is more important now that DirState tracks file changes.
It allows 'bzr status' to update the cached stat and sha values.
Filename Latest Rev Last Changed Committer Comment Size
..
old 1185.82.3 19 years ago John Arbash Meinel Working on creating a factor for serializing chang Diff
serializer 1185.82.3 19 years ago John Arbash Meinel Working on creating a factor for serializing chang Diff
__init__.py 2167.2.1 18 years ago Aaron Bentley Fix reading bundles from http URLs 2.2 KB Diff Download File
apply_bundle.py 1551.11.9 18 years ago Aaron Bentley Apply change reporting to merge 2.7 KB Diff Download File
bundle_data.py 2294.1.10 18 years ago John Arbash Meinel Switch all apis over to utf8 file ids. All tests p 27.5 KB Diff Download File
commands.py 2178.4.4 18 years ago Alexander Belchenko encoding_type = 'exact' force sys.stdout to be bin 6.8 KB Diff Download File
common.py 2052.3.1 18 years ago John Arbash Meinel Add tests to cleanup the copyright of all source f 1 KB Diff Download File