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

  • Committer: John Arbash Meinel
  • Date: 2006-10-06 05:53:44 UTC
  • mfrom: (2063 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2071.
  • Revision ID: john@arbash-meinel.com-20061006055344-e73b97b7c6ca6e72
[merge] bzr.dev 2063

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
def get_root_name(dest):
99
99
    """Get just the root name for an export.
100
100
 
 
101
    >>> get_root_name('../mytest.tar')
 
102
    'mytest'
101
103
    >>> get_root_name('mytar.tar')
102
104
    'mytar'
103
105
    >>> get_root_name('mytar.tar.bz2')