mirror of
https://github.com/frej/fast-export.git
synced 2025-11-13 22:25:42 +01:00
Organized imports
After an update to Mercurial 2.3 the module 'repo' was removed and the program crashed when trying to convert a repository. I checked the imports with 'pyflakes' and removed all unused ones, repo (among others) was never used. http://www.selenic.com/repo/hg/rev/1ac628cd7113#l9.1
This commit is contained in:
@@ -15,11 +15,11 @@ tags_path = '/tags/'
|
||||
first_rev = 1
|
||||
final_rev = 0
|
||||
|
||||
import gc, sys, os.path
|
||||
import sys, os.path
|
||||
from optparse import OptionParser
|
||||
from time import sleep, mktime, localtime, strftime, strptime
|
||||
from svn.fs import svn_fs_dir_entries, svn_fs_file_length, svn_fs_file_contents, svn_fs_is_dir, svn_fs_revision_root, svn_fs_youngest_rev, svn_fs_revision_proplist, svn_fs_revision_prop, svn_fs_paths_changed
|
||||
from svn.core import svn_pool_create, svn_pool_clear, svn_pool_destroy, svn_stream_read, svn_stream_for_stdout, svn_stream_copy, svn_stream_close, run_app
|
||||
from time import mktime, strptime
|
||||
from svn.fs import svn_fs_file_length, svn_fs_file_contents, svn_fs_is_dir, svn_fs_revision_root, svn_fs_youngest_rev, svn_fs_revision_proplist, svn_fs_paths_changed
|
||||
from svn.core import svn_pool_create, svn_pool_clear, svn_pool_destroy, svn_stream_for_stdout, svn_stream_copy, svn_stream_close, run_app
|
||||
from svn.repos import svn_repos_open, svn_repos_fs
|
||||
|
||||
ct_short = ['M', 'A', 'D', 'R', 'X']
|
||||
|
||||
Reference in New Issue
Block a user