Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ajdust Target tests for cached BugDir.uuids() implementation | W. Trevor King | 2010-01-21 | 1 | -0/+1 |
| | |||||
* | Fix _uuids_cache reset in BugDir._clear_bugs | W. Trevor King | 2010-01-21 | 1 | -1/+2 |
| | |||||
* | Update libbe.storage.util.settings_object tests for new ._get_saved_settings | W. Trevor King | 2010-01-21 | 1 | -1/+2 |
| | |||||
* | Fix version import for mercurial <= 1.1.2 | W. Trevor King | 2010-01-21 | 1 | -1/+1 |
| | |||||
* | Use _get_user_id() in New, remove unused 'user-id' prop. from Commit. | W. Trevor King | 2010-01-21 | 7 | -1/+22 |
| | | | | | Added creator field to bugs without creator information. Mostly this is due to the recent lack of creator-setting in `be new`. | ||||
* | Add _uuids_cache management to BugDir._clear_bugs | W. Trevor King | 2010-01-21 | 1 | -0/+1 |
| | |||||
* | Add wrap_id to improve id handling in be-xml-to-mbox | W. Trevor King | 2010-01-21 | 1 | -2/+9 |
| | |||||
* | Converted `be list --xml` to <be-xml> format. | W. Trevor King | 2010-01-21 | 3 | -10/+12 |
| | | | | | | | | Fixed up be-xml-to-mbox following the recent libbe restructuring. Moved stdout manipulation in be-mail-to-xml into the if __name__ == '__main__' block, in case some other module wants to recycle some of its functions/methods. | ||||
* | Fix not-yet-loaded bug in SavedSettingsObject._get_saved_settings() | W. Trevor King | 2010-01-20 | 1 | -6/+19 |
| | | | | | | The earlier implementation only copied in the currently loaded properties and the required ones. The new implementation copies in _all_ the non-default properties. | ||||
* | Improve `be import-xml` handling of root comments + tests. | W. Trevor King | 2010-01-20 | 1 | -7/+105 |
| | |||||
* | Fix BugDir._uuid_cache management for new_bug()/remove_bug(). | W. Trevor King | 2010-01-20 | 1 | -0/+4 |
| | | | | | Initial implementation in wking@drexel.edu-20100120192451-j206hn1s78u9a3ys missed them. | ||||
* | Strip footers (signatures) in be-mail-to-xml | W. Trevor King | 2010-01-20 | 7 | -2/+145 |
| | |||||
* | 'be-mbox-to-xml' -> 'be-mail-to-xml' + support for several formats. | W. Trevor King | 2010-01-20 | 2 | -8/+24 |
| | |||||
* | Optimized BugDir.uuids, caching on-disk bug uuids. | W. Trevor King | 2010-01-20 | 1 | -13/+10 |
| | | | | | | | | | | | | | | Output of python -m cProfile -o profile be list python -c "import pstats; p=pstats.Stats('profile'); p.sort_stats('cumulative').print_stats()" on my slow netbook before optimization: ncalls tottime percall cumtime percall filename:lineno(function) 10290 0.417 0.000 10.832 0.001 libbe/bugdir.py:237(uuids) after optimization: 105 0.063 0.001 0.250 0.002 libbe/bugdir.py:237(uuids) The old generator produced many more calls than the new implementation, but the number of calls was not the source of the slowdown (data not shown ;). | ||||
* | Add entry points for functionality needed by CFBE (and probably other UIs) | W. Trevor King | 2010-01-20 | 3 | -26/+48 |
| | |||||
* | Adjust to modern mercurial version definition. | W. Trevor King | 2010-01-20 | 1 | -3/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hg-stable$ hg log --patch mercurial/util.py ... changeset: 7640:9626819b2e3d user: Matt Mackall <mpm@selenic.com> date: Sat Jan 10 18:02:38 2009 -0600 summary: refactor version code diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -142,6 +142,14 @@ """Find the length in characters of a local string""" return len(s.decode(_encoding, "replace")) +def version(): + """Return version information if available.""" + try: + import __version__ + return __version__.version + except ImportError: + return 'unknown' + # used by parsedate ... hg-stable$ hg tags ... 1.2 7823:11efa41037e2 1.1.2 7497:11a4eb81fb4f ... | ||||
* | Fix _u_rel_path problems in VCS._children | W. Trevor King | 2010-01-20 | 2 | -3/+4 |
| | |||||
* | Fixed `be help` (used to raise NotImplementedError) | W. Trevor King | 2010-01-20 | 2 | -4/+12 |
| | |||||
* | Add better help message on COMMAND-less be call | W. Trevor King | 2010-01-20 | 1 | -1/+8 |
| | |||||
* | Added shortname (.id.user()) data to `be html`s comment data | W. Trevor King | 2010-01-19 | 1 | -2/+3 |
| | |||||
* | Allow forward slashes (/) in commit email tags in be-handle-mail. | W. Trevor King | 2010-01-19 | 1 | -6/+6 |
| | | | | | Also move unitsuite definition to the end of the file so it picks up GenerateGlobalTagsTestCase. | ||||
* | Fixed libbe.utuil->libbe.util typo in be-handle-mail. | W. Trevor King | 2010-01-19 | 2 | -15/+4 |
| | | | | Also removed some references to the old XML interface. | ||||
* | Use relative paths *._vcs_* methods. | W. Trevor King | 2010-01-19 | 1 | -3/+6 |
| | |||||
* | Merged be.faster-diff branch, fixing #bea/ed5#. | W. Trevor King | 2010-01-19 | 14 | -198/+769 |
|\ | |||||
| * | Marked #bea/ed5# as fixed | W. Trevor King | 2010-01-19 | 1 | -1/+1 |
| | | |||||
| * | Adjust command.serve.Serve doctest to clarify remaining test failures. | W. Trevor King | 2010-01-19 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current test output $ python test.py libbe ... FAILED (failures=1, errors=3) All failures and errors due to unimplemented functionality Errors: * Darcs._vcs_isdir() not implemented (for Darcs <= 2.3.1) * Arch._vcs_path() not implemented * Arch._vcs_changed() not implemented Failures: * command.serve.Serve tests not implemented | ||||
| * | Better error messages in VCS._get | W. Trevor King | 2010-01-19 | 1 | -3/+5 |
| | | |||||
| * | Work around the extra output of `tla file-find` to get path. | W. Trevor King | 2010-01-19 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | Example output: * build pristine tree for ...--patch-1 * from import revision: ...--base-0 * patching for revision: ...--patch-1 ./{arch}/++pristine-trees/...--patch-1/./.be/unlikely id | ||||
| * | Generate string properly in libbe.util.subproc.CommandError | W. Trevor King | 2010-01-19 | 1 | -1/+1 |
| | | |||||
| * | Work around Mercurial issue618 in Arch backend. | W. Trevor King | 2010-01-19 | 1 | -4/+20 |
| | | | | | | | | Also add some NotImplementedErrors for clearer diagnostics. | ||||
| * | Added changed() support for Darcs | W. Trevor King | 2010-01-18 | 1 | -17/+110 |
| | | |||||
| * | Fix modified ID reference in libbe.diff.Diff._changed_bugs | W. Trevor King | 2010-01-18 | 1 | -1/+1 |
| | | |||||
| * | Add .changed support to HTTP storage backend. | W. Trevor King | 2010-01-18 | 2 | -1/+29 |
| | | | | | | | | Also work around urlparse.parse_qs location in Python <= 2.5. | ||||
| * | Add ancestors support to HTTP storage | W. Trevor King | 2010-01-18 | 2 | -1/+25 |
| | | |||||
| * | Add .changed() support to Hg | W. Trevor King | 2010-01-18 | 1 | -0/+71 |
| | | |||||
| * | Fix VCS doctest for +revision InvalidID error message | W. Trevor King | 2010-01-18 | 1 | -1/+1 |
| | | |||||
| * | Add class name to StorageTestCase failure reporting | W. Trevor King | 2010-01-18 | 1 | -0/+17 |
| | | |||||
| * | Use RevisionedBugDir, not .duplicate_bugdir() in libbe.command.diff | W. Trevor King | 2010-01-18 | 1 | -3/+4 |
| | | |||||
| * | Optimized libbe.diff.Diff._changed when old bugdir is a RevisionedBugDir | W. Trevor King | 2010-01-18 | 2 | -68/+68 |
| | | |||||
| * | Added VCS._u_find_id_from_manifest for faster id->path calculation | W. Trevor King | 2010-01-18 | 4 | -26/+44 |
| | | |||||
| * | Adjust VCSTestCase method docstrings for unittest. | W. Trevor King | 2010-01-18 | 1 | -6/+3 |
| | | |||||
| * | Added VCS._ancestors | W. Trevor King | 2010-01-18 | 1 | -0/+21 |
| | | |||||
| * | Added Storage.ancestors | W. Trevor King | 2010-01-18 | 1 | -47/+77 |
| | | |||||
| * | Moved BugDir.duplicate_bugdir to RevisionedBugDir class | W. Trevor King | 2010-01-18 | 1 | -11/+18 |
| | | |||||
| * | Ignore paths with _u_path_to_id errors in VCS.changed | W. Trevor King | 2010-01-18 | 1 | -5/+12 |
| | | |||||
| * | Add .changed() support to Bzr | W. Trevor King | 2010-01-18 | 1 | -1/+83 |
| | | |||||
| * | Add .changed() support to Git | W. Trevor King | 2010-01-18 | 1 | -0/+81 |
| | | |||||
| * | Add .changed() support to VCS | W. Trevor King | 2010-01-18 | 1 | -0/+15 |
| | | |||||
| * | Too much trouble to handle Git's lack of dir versioning in ↵ | W. Trevor King | 2010-01-18 | 1 | -1/+1 |
| | | | | | | | | test_get_previous_children | ||||
| * | Add VersionedStorageTestCases in make_versioned_storage_testcase_subclasses | W. Trevor King | 2010-01-18 | 1 | -2/+5 |
| | |