Merge lp:~xnox/bzr-keywords/more-keywords into lp:bzr-keywords
Status: | Work in progress |
---|---|
Proposed branch: | lp:~xnox/bzr-keywords/more-keywords |
Merge into: | lp:bzr-keywords |
Diff against target: |
245 lines (+93/-11) 2 files modified
__init__.py (+87/-11) tests/test_keywords_in_trees.py (+6/-0) |
To merge this branch: | bzr merge lp:~xnox/bzr-keywords/more-keywords |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jelmer Vernooij (community) | code | Abstain | |
Ian Clatworthy | Pending | ||
Review via email:
|
Description of the change
This branch adds support for
Revno - RevNo of the Revision-Id
CurRevno - Current Revno of the tree (eg. bzr cat $file --keywords=cooked --revision=$i will print $i and it doesn't matter when that file was actually last modified)
CurRevid - Same as above but id
I've tried hard to get testsuite coverage for this. But with current setup revno's are not generated / committed && I've tried writing one blackbox style, but then keywords plugin wasn't getting imported at all such that self.run_bzr("cat $file --keywords=
One more cool thing. I've added a hook such that on branch_tip_change files which are marked to be filtered get refreshed =) so you no longer need to remove-tree && co . to get new values like for example CurRev* and similar stuff.
Hope we can work on fixing test-suite.
Unmerged revisions
- 23. By Dimitri John Ledkov
-
Spent a lot of time on testsuite can't fix it =(
- 22. By Dimitri John Ledkov
-
Need to be flexible with getting additional parameters
- 21. By Dimitri John Ledkov
-
export fixed again
- 20. By Dimitri John Ledkov
-
Added hook
- 19. By Dimitri John Ledkov
-
Fixed export
- 18. By Dimitri John Ledkov
-
Lazy imports
- 17. By Dimitri John Ledkov
-
Added CurRevno, CurId & Revno
In terms of the additional keywords, I vote +1.
I'd be willing to test it if I knew how to start testing. Keywords is something that I used quite a lot in svn.