bzr branch
http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar
|
0.436.25
by Jelmer Vernooij
Add setup.py. |
1 |
# Copyright (C) 2007 by Jelmer Vernooij <jelmer@samba.org>
|
|
0.436.2
by Jelmer Vernooij
Add stubs for testsuite, rebase-continue and rebase-abort commands. |
2 |
#
|
3 |
# This program is free software; you can redistribute it and/or modify
|
|
4 |
# it under the terms of the GNU General Public License as published by
|
|
|
0.436.131
by Jelmer Vernooij
Change license back to GPLv2+ |
5 |
# the Free Software Foundation; either version 2 of the License, or
|
|
0.436.2
by Jelmer Vernooij
Add stubs for testsuite, rebase-continue and rebase-abort commands. |
6 |
# (at your option) any later version.
|
7 |
#
|
|
8 |
# This program is distributed in the hope that it will be useful,
|
|
9 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
10 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
11 |
# GNU General Public License for more details.
|
|
12 |
#
|
|
13 |
# You should have received a copy of the GNU General Public License
|
|
14 |
# along with this program; if not, write to the Free Software
|
|
15 |
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
0.436.25
by Jelmer Vernooij
Add setup.py. |
16 |
"""Rebase support.
|
17 |
||
18 |
The Bazaar rebase plugin adds support for rebasing branches to Bazaar.
|
|
19 |
It adds the command 'rebase' to Bazaar. When conflicts occur when replaying
|
|
20 |
patches, the user can resolve the conflict and continue the rebase using the
|
|
21 |
'rebase-continue' command or abort using the 'rebase-abort' command.
|
|
22 |
"""
|
|
|
0.436.1
by Jelmer Vernooij
Add framework for git-rebase plugin. |
23 |
|
|
0.436.115
by Jelmer Vernooij
Register commands lazily, use bzrlib,api to check bzr versions. |
24 |
import bzrlib |
|
0.436.117
by Jelmer Vernooij
Fix typo. |
25 |
import bzrlib.api |
|
0.436.115
by Jelmer Vernooij
Register commands lazily, use bzrlib,api to check bzr versions. |
26 |
from bzrlib.commands import plugin_cmds |
|
0.436.1
by Jelmer Vernooij
Add framework for git-rebase plugin. |
27 |
|
|
0.436.161
by Jelmer Vernooij
Fix brown paper bag issue in 0.5.2 release. |
28 |
from info import ( |
29 |
bzr_commands, |
|
|
0.436.160
by Jelmer Vernooij
Provide data for bzr plugin info. |
30 |
bzr_plugin_version as version_info, |
31 |
bzr_compatible_versions, |
|
32 |
)
|
|
33 |
||
|
0.436.49
by Jelmer Vernooij
Fix locking. |
34 |
if version_info[3] == 'final': |
35 |
version_string = '%d.%d.%d' % version_info[:3] |
|
36 |
else: |
|
37 |
version_string = '%d.%d.%d%s%d' % version_info |
|
38 |
__version__ = version_string |
|
|
0.436.25
by Jelmer Vernooij
Add setup.py. |
39 |
__author__ = 'Jelmer Vernooij <jelmer@samba.org>' |
40 |
||
|
0.436.160
by Jelmer Vernooij
Provide data for bzr plugin info. |
41 |
bzrlib.api.require_any_api(bzrlib, bzr_compatible_versions) |
|
0.436.115
by Jelmer Vernooij
Register commands lazily, use bzrlib,api to check bzr versions. |
42 |
|
|
0.436.161
by Jelmer Vernooij
Fix brown paper bag issue in 0.5.2 release. |
43 |
for cmd in bzr_commands: |
|
0.436.115
by Jelmer Vernooij
Register commands lazily, use bzrlib,api to check bzr versions. |
44 |
plugin_cmds.register_lazy("cmd_%s" % cmd, [], |
45 |
"bzrlib.plugins.rebase.commands") |
|
|
0.436.48
by Jelmer Vernooij
Add replay command. |
46 |
|
|
0.436.163
by Jelmer Vernooij
Remove svn-upgrade. |
47 |
plugin_cmds.register_lazy('cmd_foreign_mapping_upgrade', [], |
|
0.436.139
by Jelmer Vernooij
Import foreign-mapping-upgrade. |
48 |
'bzrlib.plugins.rebase.commands') |
49 |
||
|
0.436.4
by Jelmer Vernooij
Add some tests. |
50 |
|
|
0.436.2
by Jelmer Vernooij
Add stubs for testsuite, rebase-continue and rebase-abort commands. |
51 |
def test_suite(): |
|
0.436.74
by Jelmer Vernooij
Add pydoctor file, more docstrings. |
52 |
"""Determine the testsuite for bzr-rebase.""" |
|
0.436.2
by Jelmer Vernooij
Add stubs for testsuite, rebase-continue and rebase-abort commands. |
53 |
from unittest import TestSuite |
54 |
from bzrlib.tests import TestUtil |
|
55 |
||
56 |
loader = TestUtil.TestLoader() |
|
57 |
suite = TestSuite() |
|
|
0.436.145
by Jelmer Vernooij
Fix test. |
58 |
testmod_names = [ |
59 |
'test_blackbox', |
|
60 |
'test_maptree', |
|
61 |
'test_rebase', |
|
62 |
'test_upgrade'] |
|
|
0.436.16
by Jelmer Vernooij
Some more work on maptree. |
63 |
suite.addTest(loader.loadTestsFromModuleNames( |
64 |
["%s.%s" % (__name__, i) for i in testmod_names])) |
|
|
0.436.2
by Jelmer Vernooij
Add stubs for testsuite, rebase-continue and rebase-abort commands. |
65 |
|
66 |
return suite |