/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: Aaron Bentley
  • Date: 2006-11-17 04:06:03 UTC
  • mfrom: (2139 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2162.
  • Revision ID: aaron.bentley@utoronto.ca-20061117040603-pgebxndswvwk26tt
Merge from bzr.dev

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')