Merge lp:~maxb/bzr-svn/remove-overcomplexity-find_commit_paths into lp:bzr-svn/1.0
Proposed by
Max Bowsher
Status: | Work in progress |
---|---|
Proposed branch: | lp:~maxb/bzr-svn/remove-overcomplexity-find_commit_paths |
Merge into: | lp:bzr-svn/1.0 |
Diff against target: |
157 lines (+30/-53) 4 files modified
layout/guess.py (+5/-15) mapping3/scheme.py (+7/-10) tests/mapping3/test_scheme.py (+0/-28) tests/test_changes.py (+18/-0) |
To merge this branch: | bzr merge lp:~maxb/bzr-svn/remove-overcomplexity-find_commit_paths |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jelmer Vernooij (community) | code | Disapprove | |
Review via email: mp+35490@code.launchpad.net |
Description of the change
As I was looking at layout/guess.py, I noticed some code which was unnecessarily overcomplicated.
To post a comment you must log in.
Unmerged revisions
- 3467. By Max Bowsher
-
Remove layout.
guess.find_ commit_ paths and associated overcomplexity. - 3466. By Jelmer Vernooij
-
Properly encode paths when annotating.
- 3465. By Jelmer Vernooij
-
fix fetching of subvertpy repository.
- 3464. By Jelmer Vernooij
-
Fix compatibility with older versions of bzr.
- 3463. By Jelmer Vernooij
-
Fix root change.
- 3462. By Jelmer Vernooij
-
Cope with lockableconfig in newer versions of bzr.
- 3461. By Jelmer Vernooij
-
Fix svn parent tree retrieval.
- 3460. By Jelmer Vernooij
-
Simplify branch continuation handling.
- 3459. By Jelmer Vernooij
-
Some reformatting, don't let __len__ of RevisionMetadat
aBrowser depend on number of items iterated yet. - 3458. By Jelmer Vernooij
-
Start on 1.0.5.
This complexity is there for good reason. Imagine e.g. a commit where a user changes both /trunk/bla/foo and /wiki in the same commit.
Previously we would add a +1 for TrunkLayout(). With these changes, we would add one for RootLayout().
I'd be interested in merging the common_prefix tests though.