开发者

How to change revision format in Google Code?

开发者 https://www.devze.com 2023-03-15 01:05 出处:网络
I\'m REALLY new to DVCS and am trying out Mercurial with Google Code as I\'d like to share some extensions that I recently wrote for Google Chrome.

I'm REALLY new to DVCS and am trying out Mercurial with Google Code as I'd like to share some extensions that I recently wrote for Google Chrome.

I notice that in Google Code, most projects seem to refer to changesets via sequential numbers (eg. 1, 2, 3, etc. -- (s开发者_开发知识库ee screenshot #1 below)). My test project (screenshot #2), however, uses the hex values and I don't see anything in project settings to change this. How do I get it to display using the aforementioned linear format?


Also, being new to social coding, it seems that everywhere else on the internet, your email address is a private thing but these DVC systems seem to want your email to associate with commits (and Google, github, etc. seem intent on displaying them). Is there some sort of etiquette here? It seems that most people on Google Code edit their config file to only show the username with no real name or email information for associated commits.

How to change revision format in Google Code?

How to change revision format in Google Code?


This is normal because you're using mercurial. If you want sequential version numbers, you can switch to svn. Though, I think mercurial is far more superior.


Dikei solved the mystory of the revision numbers -- let me answer your question about usernames. In a distributed system like Mercurial, a username such as "mg" would not be very useful and this is why it is normal to include the full name in changesets. Mercurial does not care, though, and you can put whatever you want there.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号