首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >单击“显示日志”或刷新时,“对象未提交”

单击“显示日志”或刷新时,“对象未提交”
EN

Stack Overflow用户
提问于 2014-10-10 04:33:18
回答 1查看 309关注 0票数 0

当我单击SmartGit/Hg v6.0.7上显示日志时。我总是显示警告“命令失败”:-我不能显示日志。-我试着用“如何从git存储库中删除所有悬空提交”。但我解决不了。

Log.txt

代码语言:javascript
复制
16418321 (2014-10-10 13:57:57,193) [main] INFO  q.swt.shellActivation > - Activation change from null to Shell {Command Failed}@1AE7852
16418322 (2014-10-10 13:57:57,194) [QThreadPoolThread-7 (smartgit.arf)] INFO       sc.file.monitor  - Collecting changes, pending trigger file count is 0 (latestSeq=304757)
16418324 (2014-10-10 13:57:57,196) [QThreadPoolThread-7 (smartgit.arf)] INFO       sc.file.monitor  - Collecting changes finished (latestSeq=304758)
16418415 (2014-10-10 13:57:57,287) [main] INFO              q.action  - Performing 'OK' button in window @1AE7852 owner @1DD8D46
16418415 (2014-10-10 13:57:57,287) [main] INFO              q.dialog  - Showed dialog 37 (@1AE7852) '@15D785C - Command Failed' (owner: @1DD8D46)
16418419 (2014-10-10 13:57:57,291) [main] INFO  q.swt.shellActivation  - Activation change from Shell {*Disposed*}@1AE7852 to Shell {huan-am - [C:\workspace\huan-am] - SmartGit/Hg 6.0.7 (for non-commercial use only)}@1DD8D46
16418420 (2014-10-10 13:57:57,292) [main] INFO  smartgit.repository.backgroundScan  - Starting background refreshing.
16419325 (2014-10-10 13:57:58,197) [QThreadPoolThread-7 (smartgit.arf)] INFO       sc.file.monitor  - Collecting changes, pending trigger file count is 0 (latestSeq=304762)
16419326 (2014-10-10 13:57:58,198) [QThreadPoolThread-7 (smartgit.arf)] INFO       sc.file.monitor  - Collecting changes finished (latestSeq=304763)
16419420 (2014-10-10 13:57:58,292) [QThreadPoolThread-7 (smartgit.aYt)] INFO       sc.file.monitor  - Collecting changes, pending trigger file count is 0 (latestSeq=304768)
16419422 (2014-10-10 13:57:58,294) [QThreadPoolThread-7 (smartgit.aYt)] INFO       sc.file.monitor  - Collecting changes finished (latestSeq=304770)
16419422 (2014-10-10 13:57:58,294) [QThreadPoolThread-7 (smartgit.aYt)] INFO  smartgit.repository.backgroundScan  - Running background refresh: []
16424255 (2014-10-10 13:58:03,127) [main] INFO              q.action  - Performing 'log, Log, Show the history for selected file or directory.'
16424285 (2014-10-10 13:58:03,157) [WorkerThread-1] INFO      smartgit.command  - Log [C:\workspace\huan-am] /
16424523 (2014-10-10 13:58:03,395) [WorkerThread-1] WARN       smartgit.review  - Remote 'origin' has ID, but is missing refspecs.
16424524 (2014-10-10 13:58:03,396) [WorkerThread-1] WARN       smartgit.review  - Remote 'huan-am' has ID, but is missing refspecs.
16424581 (2014-10-10 13:58:03,453) [WorkerThread-1] WARN       smartgit.review  - Remote 'origin' has ID, but is missing refspecs.
16424582 (2014-10-10 13:58:03,454) [WorkerThread-1] WARN       smartgit.review  - Remote 'huan-am' has ID, but is missing refspecs.
smartgit.eL: Object 226170739742f6e9ecb388888e88dcc3432bb667 is not a commit.
    at smartgit.oO.b(SourceFile:113)
    at smartgit.oN.a(SourceFile:266)
    at smartgit.oN.a(SourceFile:195)
    at smartgit.oN.a(SourceFile:170)
    at smartgit.aSQ.a(SourceFile:415)
    at smartgit.aSQ.a(SourceFile:119)
    at smartgit.aEC.a(SourceFile:113)
    at smartgit.aEC.a(SourceFile:179)
    at smartgit.bZ.a(SourceFile:42)
    at smartgit.lk.run(SourceFile:103)
    at smartgit.Tw.run(SourceFile:53)
Caused by: org.eclipse.jgit.errors.IncorrectObjectTypeException: Object 226170739742f6e9ecb388888e88dcc3432bb667 is not a commit.
    at org.eclipse.jgit.revwalk.RevWalk.parseCommit(RevWalk.java:722)
    at smartgit.oO.b(SourceFile:110)
    ... 10 more
16424974 (2014-10-10 13:58:03,846) [main] INFO              q.dialog  - Show (warn): Command Failed - Executing a command has failed.
16424996 (2014-10-10 13:58:03,868) [main] INFO              q.dialog  - Showing dialog 38 (@EECB5C) '@16917F5 - Command Failed' (owner: @1DD8D46)
16425019 (2014-10-10 13:58:03,891) [main] INFO  q.swt.shellActivation  - Activation change from Shell {huan-am - [C:\workspace\huan-am] - SmartGit/Hg 6.0.7 (for non-commercial use only)}@1DD8D46 to Shell {Command Failed}@EECB5C
16425074 (2014-10-10 13:58:03,946) [main] INFO  q.swt.shellActivation  - Activation remains at Shell {Command Failed}@EECB5C
16426619 (2014-10-10 13:58:05,491) [main] INFO  q.swt.shellActivation  - Activation change from Shell {Command Failed}@EECB5C to null

log.txt包含调试日志信息。它可以通过log4j.properties进行配置。

这意味着log.txt将包含确切的错误,这将解释“显示日志”失败的原因。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-10-10 05:29:12

您可以向SmartGit "安装和文件“页面报告:

SmartGit/Hg设置目录的默认位置

代码语言:javascript
复制
Windows 
%APPDATA%\syntevo\SmartGit\<major-smartgit-hg-version> (%APPDATA% is the path defined in the environment variable APPDATA)

Mac OS 
~/Library/Preferences/SmartGit/<major-smartgit-hg-version>

Linux/Unix 
~/.smartgit/<major-smartgit-hg-version>

设置目录中的显著文件

log.txt包含调试日志信息。它可以通过log4j.properties进行配置。

这意味着log.txt将包含确切的错误,这将解释“显示日志”失败的原因。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/26291991

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档