/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 elementtree/__init__.py

  • Committer: mbp at sourcefrog
  • Date: 2005-04-06 03:38:35 UTC
  • Revision ID: mbp@sourcefrog.net-20050406033835-0a8142f2ed51db26f3a3681c
- Use a non-null file_id for the branch root directory.  At the moment
  this is fixed; in the future it should be stored in the directory
  and perhaps be randomized at each branch init.  It is not written
  out to the inventory at all as yet.

- Various branch code cleanups to support this.

- If an exception occurs, log traceback into .bzr.log and print a
  message saying it's there.

- New file-id-path command and more help.

- Some pychecker fixups.

- InventoryEntry constructor parameters now require an entry kind and
  a parent_id.

- Fix up cat command when reading a file from a previous revision.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# $Id: __init__.py 1821 2004-06-03 16:57:49Z fredrik $
 
2
# elementtree package
 
3
 
 
4
# --------------------------------------------------------------------
 
5
# The ElementTree toolkit is
 
6
#
 
7
# Copyright (c) 1999-2004 by Fredrik Lundh
 
8
#
 
9
# By obtaining, using, and/or copying this software and/or its
 
10
# associated documentation, you agree that you have read, understood,
 
11
# and will comply with the following terms and conditions:
 
12
#
 
13
# Permission to use, copy, modify, and distribute this software and
 
14
# its associated documentation for any purpose and without fee is
 
15
# hereby granted, provided that the above copyright notice appears in
 
16
# all copies, and that both that copyright notice and this permission
 
17
# notice appear in supporting documentation, and that the name of
 
18
# Secret Labs AB or the author not be used in advertising or publicity
 
19
# pertaining to distribution of the software without specific, written
 
20
# prior permission.
 
21
#
 
22
# SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD
 
23
# TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANT-
 
24
# ABILITY AND FITNESS.  IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR
 
25
# BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
 
26
# DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
 
27
# WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
 
28
# ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
 
29
# OF THIS SOFTWARE.
 
30
# --------------------------------------------------------------------