/brz/remove-bazaar

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

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_osutils.py

  • Committer: Aaron Bentley
  • Date: 2008-02-24 16:42:13 UTC
  • mfrom: (3234 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3235.
  • Revision ID: aaron@aaronbentley.com-20080224164213-eza1lzru5bwuwmmj
Merge with bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
260
260
        self.assertFormatedDelta('1 second in the future', -1)
261
261
        self.assertFormatedDelta('2 seconds in the future', -2)
262
262
 
 
263
    def test_format_date(self):
 
264
        self.assertRaises(errors.UnsupportedTimezoneFormat,
 
265
            osutils.format_date, 0, timezone='foo')
 
266
 
263
267
    def test_dereference_path(self):
264
268
        self.requireFeature(SymlinkFeature)
265
269
        cwd = osutils.realpath('.')
1092
1096
 
1093
1097
 
1094
1098
# NOTE: If update these, please also update the help for global-options in
1095
 
#       bzrlib/help_topics.py.
 
1099
#       bzrlib/help_topics/__init__.py
1096
1100
 
1097
1101
debug_flags = set()
1098
1102
"""Set of flags that enable different debug behaviour.
1105
1109
 * error - show stack traces for all top level exceptions
1106
1110
 * evil - capture call sites that do expensive or badly-scaling operations.
1107
1111
 * fetch - trace history copying between repositories
 
1112
 * hashcache - log every time a working file is read to determine its hash
1108
1113
 * hooks - trace hook execution
1109
1114
 * hpss - trace smart protocol requests and responses
1110
1115
 * http - trace http connections, requests and responses
1111
1116
 * index - trace major index operations
 
1117
 * knit - trace knit operations
1112
1118
 * lock - trace when lockdir locks are taken or released
1113
1119
 * merge - emit information for debugging merges
1114
1120