将书签同步到 SourceForge 服务器时出现问题
添加书签到我的本地存储库
我通过TortoiseHg -> 存储库资源管理器 ->标签->添加/移动/删除书签
稍后,我执行推送到 ssh:/ /[email protected]/hgroot/jstock/jstock
我意识到正在推送 0 个变更集,并且书签未显示在
< a href="http://jstock.hg.sourceforge.net/hgweb/jstock/jstock/graph" rel="nofollow">http://jstock.hg.sourceforge.net/hgweb/jstock/jstock/graph< /a> (使用 getWeekOfWeekyear 而不是 getWeekyear。)
后来,我将存储库克隆到另一台机器,我意识到没有从 sourceforge 服务器克隆的书签信息。
我想知道为什么会发生这种情况?是因为 SourceForge 使用的 Mercurial 服务器版本不支持书签吗?
I add a bookmark to my local repository through
TortoiseHg -> Repository Explorer -> Tag -> Add/Move/Remove Bookmark
Later, I perform push to ssh://[email protected]/hgroot/jstock/jstock
I realize 0 changset is being pushed, and bookmark is not shown in
http://jstock.hg.sourceforge.net/hgweb/jstock/jstock/graph (Use getWeekOfWeekyear instead of getWeekyear.)
Later, I clone the repository to another machine, I realize there are no bookmark information being clone from sourceforge server.
I was wondering why this happen? Is it because SourceForge is using a version of mercurial server which doesn't support bookmarking?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
书签通常不会被推送和拉出,您必须明确要求它们这样做。
如果您想要持久的、全局的(在所有克隆之间)、“书签”,请改用标签。书签旨在作为轻量级瞬态标签,即。 “这就是我目前工作的地方”。
Bookmarks aren't normally pushed and pulled, you have to specifically ask them to be.
If you want persistent, global (between all clones), "bookmarks", use tags instead. Bookmarks are intended as lightweight transient tags, ie. "this is where I'm currently working".