Commit Graph

15 Commits

Author SHA1 Message Date
RHL120
4822e23d6c
Create a struct for rvc state ##projects 2022-05-26 19:52:01 +02:00
RHL120
47ea6216ea
Add a clone command ##rvc 2021-10-30 09:35:43 +02:00
RHL120
288c8a75d5
Add an ravc2 reset command ##vc 2021-09-19 00:13:01 +02:00
RHL120
888ba87878
Fix the rvc asan tests and some heap issues in rvc ##vc
* Remove a bad function and fix the ASAN tests
* Fix a use after free and a mem leak in rvc
* Fix another use after free in rvc
2021-08-31 13:33:03 +02:00
RHL120
5a8942104a
Add a status and log commands to ravc2 and add tests for rvc ##vc
* Add a function to get the list of commits & info
* Move all sdb_open(s) to a sperate function in rvc (could break)
* Add a function to list branches in rvc
* Move repo_exists checks to a macro
* Removed a useless function
* Add a log and a list branches commands to ravc2
* Remove BPREFIX from bname in ravc2 branch
* Add a function to get the current branch in rvc
* Add a stauts command to ravc2
* Make ravc2 return 1 on error instead of -[0-9]*
* Fix a problem with r_vc_checkout
* Add a hash= key before the commit hash in r_vc_log
* Add some tests for rvc
* change ret to db in vcdb_open in rvc
* completly replace ret by db in rvc's vcdb_open
2021-08-30 18:04:34 +02:00
RHL120
260dbb9e8f
Integrate rvc in projects and add a default commit message ##vc
* Add an rvc_git_repo_exists ()
* Add a prj.vc.message variable
* Honor interactivity to rvc
* Integrate rvc into projects
2021-08-13 18:37:18 +02:00
RHL120
a71486234f
Use r_sys_whoami as the author name for r_vc_commit ##projects (#18915)
* Force the caller to asign the author name in r_vc_commit
* Wrap formats in cmdf in double quotes and escape them
* Fix some memory leaks in r_vc_git_.*
2021-07-21 12:04:26 +02:00
RHL120
39d6ee533d
rvc add r_vc_find_rp ##projects (#18895) 2021-07-12 14:16:38 +02:00
RHL120
045abae796
Rework r_vc_checkout and fix some mem leaks ##projects (#18894)
* Added error checking to branch_exists
* Swapped the check value of branch_exists in r_vc_branch
* Make r_vc_checkout actually functional
2021-07-10 19:15:38 +02:00
RHL120
fe7b60354d
Rework the rvc_commit functions ##projects (#18889)
* Fixed memory leaks
* Swap the return vals of foreach_newline
2021-07-07 12:49:58 +02:00
RHL120
39b997b736
Take advantage of prj.vc.type and merge rvc & git ##projects (#18880) 2021-07-02 20:04:05 +02:00
RHL120
6f05d09713
Major rvc api refactor to use sdb ##projects 2021-06-21 08:44:06 +02:00
pancake
0cf7ae38c7
Honor extern "C" in all the include files (#18730) 2021-05-21 12:54:48 +02:00
pancake
14e5afe6cf
Add initial rvc2 command ##shell (#18716) 2021-05-20 03:34:23 +02:00
RHL120
4682d70dc0
Initial import of the 'Radare2 Version Control System' APIs (#18499) ##core
* Sets the base for supporting multiple version controls for projects
* Implements a native version control software inside r2
* prj.git is now renamed to prj.vc (and prj.vc.type is added)
* No commands to use it yet, just API, further changes will come soon
2021-04-26 11:27:46 +02:00