Menu

Commit [r5760]  Maximize  Restore  History

scm: git: add test of revisions() in merged revisions in unit adapter test (#7146).

Git branch is a reference of specific revision.
Git branch is equivalent with Mercurial *heads*.
http://mercurial.selenic.com/wiki/GitConcepts?action=recall&rev=53#Branch_model

32ae898b7 in git test repository is a merged revision with two heads.
713f49446 and 4a07fe31b *were* in different branches before merged.
713f49446 and 4a07fe31b are descendants of 61b685fbe5.
4a07fe31b is a child of 61b685fbe5.
To get revisions from 713f4944648826f5 to master,
"git log" needs to return 4a07fe31b.

tmaruyama 2011-05-12

changed /trunk/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb
/trunk/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.