Navigation: Developing Apps > BINETIX® AGE™ API > Plugins > Version Control Manager > Modules > vcs
get_history/3
Description
get_history/3 is an Erlang function exported by "" module.
Retrieves the revision history of selected node. By default, this function returns the history of the Repository's root.
References
•Headers
Parameters
Name
Type
Repository
atom()
Repository ID.
Node
string()
Optional. Full name of the targeted node. Defaults to "/".
Revision
integer()
Optional. Defaults to -1.
Result
Value or Type
{history_list, list()}
On success returns a list of all revision numbers associated with
Code Sample
> vcs:get_history(test).
{history_list,[
{"/",3},
{"/",2},
{"/",1},
{"/",0}
]}