Show More
@@ -1065,7 +1065,15 b' def perfbundle(ui, repo, *revs, **opts):' | |||||
1065 |
|
1065 | |||
1066 | For now, this only supports "none" compression. |
|
1066 | For now, this only supports "none" compression. | |
1067 | """ |
|
1067 | """ | |
1068 | from mercurial import bundlecaches |
|
1068 | try: | |
|
1069 | from mercurial import bundlecaches | |||
|
1070 | ||||
|
1071 | parsebundlespec = bundlecaches.parsebundlespec | |||
|
1072 | except ImportError: | |||
|
1073 | from mercurial import exchange | |||
|
1074 | ||||
|
1075 | parsebundlespec = exchange.parsebundlespec | |||
|
1076 | ||||
1069 | from mercurial import discovery |
|
1077 | from mercurial import discovery | |
1070 | from mercurial import bundle2 |
|
1078 | from mercurial import bundle2 | |
1071 |
|
1079 |
General Comments 0
You need to be logged in to leave comments.
Login now