~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/export/__init__.py

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