summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--argv.go1
-rw-r--r--doPatch.go15
2 files changed, 7 insertions, 9 deletions
diff --git a/argv.go b/argv.go
index 1aeffbf..eb986a8 100644
--- a/argv.go
+++ b/argv.go
@@ -114,7 +114,6 @@ type PatchCmd struct {
Get *EmptyCmd `arg:"subcommand:get" help:"get the new patchsets"`
Show *EmptyCmd `arg:"subcommand:show" help:"your pending commits to your code"`
Submit *SubmitCmd `arg:"subcommand:submit" help:"submit your commits"`
- Repos *SubmitCmd `arg:"subcommand:repos" help:"show repos with patches"`
}
type SubmitCmd struct {
diff --git a/doPatch.go b/doPatch.go
index 8b59c49..1d87121 100644
--- a/doPatch.go
+++ b/doPatch.go
@@ -60,11 +60,6 @@ func doPatchSubmit() error {
}
func doPatch() error {
- if argv.Patch.Repos != nil {
- showWorkRepos()
- return nil
- }
-
if argv.Patch.Submit != nil {
return doPatchSubmit()
}
@@ -94,16 +89,20 @@ func doPatch() error {
newpb.PrintTable()
*/
log.Info("do something here to find patches merged to devel")
- doMergeReport()
+ // doMergeReport()
return nil
}
if argv.Patch.List != nil {
- return doPatchList()
+ log.Info("todo: fix this")
+ // return doPatchList()
+ return nil
}
// list patches by default
- return doPatchList()
+ // return doPatchList()
+ log.Info("todo: fix this")
+ return nil
}
func doPatchGet(newpb *forgepb.Sets) {