/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

  • Committer: Karl Fogel
  • Date: 2009-02-02 00:47:21 UTC
  • mto: (3992.1.1 ianc-integration)
  • Revision ID: kfogel@red-bean.com-20090202004721-657p8hfk6hm2p001
Part of bug #306394: Raise an error (code 3) when status is invoked on
nonexistent files; adjust tests to expect same.

After this change, bzr still prints nonexistent files in the normal
status output (under "nonexistent:", or with "X" in --short format),
but then errors at the end so the user knows they ran status on
non-existent files, and to match how commit would behave if invoked on
the same arguments.

This resulted from a conversation with Robert Collins in IRC, later
immortalized in https://lists.ubuntu.com/archives/bazaar/2009q1/052295.html.

* bzrlib/status.py
  (show_tree_status): If there are nonexistent files, raise an error
    about them at the very end.

* bzr/bzr-repo/bzr.dev-306394/bzrlib/tests/blackbox/test_status.py
  (BranchStatus.test_status_nonexistent_file): Expect the error.

* bzrlib/tests/blackbox/test_status.py
  (BranchStatus.test_tree_status_specific_files): Restore the
    expectation of error that was lost in revno 3935.

* NEWS
  (BUG FIXES): Update the description of the new behavior.
Filename Latest Rev Last Changed Committer Comment Size
..
bzrlib 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
contrib 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
doc 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
man1 2425.1.1 18 years ago Robert Collins ``make docs`` now creates a man page at ``man1/bzr Diff
tools 1185.1.29 20 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
.bzrignore 3890.2.7 17 years ago John Arbash Meinel A Pyrex extension is about 5x faster than the fast 993 bytes Diff Download File
.rsyncexclude 1185.33.36 20 years ago Martin Pool Exclude more files from dumb-rsync upload 203 bytes Diff Download File
BRANCH.TODO 3015.4.13 17 years ago Daniel Watkins Cleaned out BRANCH.TODO. 150 bytes Diff Download File
File bzr 3936.1.2 17 years ago Martin Pool Bump version to 1.12 and add news template 5.3 KB Diff Download File
bzr.ico 3688.3.3 17 years ago John Arbash Meinel An updated transparent icon for bzr. 12.7 KB Diff Download File
COPYING.txt 1861.2.9 19 years ago Alexander Belchenko rename gpl.txt => COPYING.txt 17.5 KB Diff Download File
File generate_docs.py 2911.6.1 18 years ago Blake Winton Change 'print >> f,'s to 'f.write('s. 2.9 KB Diff Download File
INSTALL 2696.2.4 18 years ago Aaron Bentley Fix typo 1.4 KB Diff Download File
Makefile 3904.1.1 17 years ago Ian Clatworthy Improved help on storage formats (Ian Clatworthy) 8.8 KB Diff Download File
NEWS 3930.2.13 16 years ago Karl Fogel Part of bug #306394: Raise an error (code 3) when 313 KB Diff Download File
profile_imports.py 3696.1.1 17 years ago John Arbash Meinel Use the right timing function on win32 5.5 KB Diff Download File
README 3286 17 years ago Canonical.com Patch Queue Manager Start 1.4 development 3.3 KB Diff Download File
File setup.py 3871.1.8 17 years ago Mark Hammond merge trunk 23.9 KB Diff Download File
TODO 2382.2.5 18 years ago Martin Pool Contents of TODO file moved into bug tracker 115 bytes Diff Download File