{"action":"created","issue":{"url":"https://api.github.com/repos/ajoberstar/gradle-git/issues/214","repository_url":"https://api.github.com/repos/ajoberstar/gradle-git","labels_url":"https://api.github.com/repos/ajoberstar/gradle-git/issues/214/labels{/name}","comments_url":"https://api.github.com/repos/ajoberstar/gradle-git/issues/214/comments","events_url":"https://api.github.com/repos/ajoberstar/gradle-git/issues/214/events","html_url":"https://github.com/ajoberstar/gradle-git/issues/214","id":173966439,"number":214,"title":"No commit found for revision string : some_branch","user":{"login":"svverma","id":16487968,"avatar_url":"https://avatars.githubusercontent.com/u/16487968?v=3","gravatar_id":"","url":"https://api.github.com/users/svverma","html_url":"https://github.com/svverma","followers_url":"https://api.github.com/users/svverma/followers","following_url":"https://api.github.com/users/svverma/following{/other_user}","gists_url":"https://api.github.com/users/svverma/gists{/gist_id}","starred_url":"https://api.github.com/users/svverma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svverma/subscriptions","organizations_url":"https://api.github.com/users/svverma/orgs","repos_url":"https://api.github.com/users/svverma/repos","events_url":"https://api.github.com/users/svverma/events{/privacy}","received_events_url":"https://api.github.com/users/svverma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-30T09:04:45Z","updated_at":"2016-08-30T23:33:42Z","closed_at":null,"body":"I want to do a merge operation using grgit. I want to merge one_branch into some_branch. So I do a following operation:\r\n\r\n```\r\n                import org.ajoberstar.grgit.*\r\n                import org.ajoberstar.grgit.operation.*\r\n\r\n               def grgit = org.ajoberstar.grgit.Grgit.open(dir: project.parent.projectDir)\r\n\t\tgrgit.checkout(branch: 'one_branch')\r\n\t\tgrgit.fetch()\r\n\t\tgrgit.merge(head:'some_branch')\r\n     \t       grgit.push()\r\n```\r\n\r\nMy stacktrace is as follows:   Note: some_branch is called test1 in stacktrace\r\n```\r\norg.gradle.api.tasks.TaskExecutionException: Execution failed for task ':core:PushToBranch'.\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)\r\n        at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)\r\n        at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)\r\n        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)\r\n        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)\r\n        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)\r\n        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)\r\n        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)\r\n        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)\r\n        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)\r\n        at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)\r\n        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:25)\r\n        at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:110)\r\n        at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37)\r\n        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)\r\n        at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23)\r\n        at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43)\r\n        at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)\r\n        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37)\r\n        at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30)\r\n        at org.gradle.initialization.DefaultGradleLauncher$4.run(DefaultGradleLauncher.java:154)\r\n        at org.gradle.internal.Factories$1.create(Factories.java:22)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:52)\r\n        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:151)\r\n        at org.gradle.initialization.DefaultGradleLauncher.access$200(DefaultGradleLauncher.java:32)\r\n        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:99)\r\n        at org.gradle.initialization.DefaultGradleLauncher$1.create(DefaultGradleLauncher.java:93)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)\r\n        at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:62)\r\n        at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:93)\r\n        at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:82)\r\n        at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:94)\r\n        at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)\r\n        at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)\r\n        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:43)\r\n        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:28)\r\n        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:78)\r\n        at org.gradle.launcher.exec.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:48)\r\n        at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:51)\r\n        at org.gradle.launcher.exec.DaemonUsageSuggestingBuildActionExecuter.execute(DaemonUsageSuggestingBuildActionExecuter.java:28)\r\n        at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:43)\r\n        at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:170)\r\n        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)\r\n        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)\r\n        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)\r\n        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)\r\n        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)\r\n        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)\r\n        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)\r\n        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)\r\n        at org.gradle.launcher.Main.doAction(Main.java:33)\r\n        at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)\r\n        at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)\r\n        at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)\r\n        at org.gradle.launcher.GradleMain.main(GradleMain.java:23)\r\n        at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:33)\r\n        at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:130)\r\n        at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:48)\r\nCaused by: org.ajoberstar.grgit.exception.GrgitException: No commit found for revision string: test1\r\n        at org.ajoberstar.grgit.util.JGitUtil.resolveObject(JGitUtil.groovy:62)\r\n        at org.ajoberstar.grgit.util.JGitUtil$resolveObject$4.call(Unknown Source)\r\n        at org.ajoberstar.grgit.operation.MergeOp.call(MergeOp.groovy:84)\r\n        at org.ajoberstar.grgit.operation.MergeOp.call(MergeOp.groovy)\r\n        at java_util_concurrent_Callable$call.call(Unknown Source)\r\n        at java_util_concurrent_Callable$call.call(Unknown Source)\r\n        at org.ajoberstar.grgit.util.OpSyntaxUtil.tryOp(OpSyntaxUtil.groovy:45)\r\n        at org.ajoberstar.grgit.Grgit.methodMissing(Grgit.groovy:188)\r\n        at com.vitalconnect.gradle.tasks.PushChangesTask.pushToDest(PushChangesTask.groovy:48)\r\n        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)\r\n        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:227)\r\n        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:220)\r\n        at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:209)\r\n        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:585)\r\n        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:568)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)\r\n        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)\r\n```"},"comment":{"url":"https://api.github.com/repos/ajoberstar/gradle-git/issues/comments/243614516","html_url":"https://github.com/ajoberstar/gradle-git/issues/214#issuecomment-243614516","issue_url":"https://api.github.com/repos/ajoberstar/gradle-git/issues/214","id":243614516,"user":{"login":"ajoberstar","id":486355,"avatar_url":"https://avatars.githubusercontent.com/u/486355?v=3","gravatar_id":"","url":"https://api.github.com/users/ajoberstar","html_url":"https://github.com/ajoberstar","followers_url":"https://api.github.com/users/ajoberstar/followers","following_url":"https://api.github.com/users/ajoberstar/following{/other_user}","gists_url":"https://api.github.com/users/ajoberstar/gists{/gist_id}","starred_url":"https://api.github.com/users/ajoberstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajoberstar/subscriptions","organizations_url":"https://api.github.com/users/ajoberstar/orgs","repos_url":"https://api.github.com/users/ajoberstar/repos","events_url":"https://api.github.com/users/ajoberstar/events{/privacy}","received_events_url":"https://api.github.com/users/ajoberstar/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T23:33:42Z","updated_at":"2016-08-30T23:33:42Z","body":"This exception message doesn't seem to match the code you posted. It says `test1` doesn't exist, but your code doesn't reference that."}}
{"actor":{"display_login":"ajoberstar"}}