Hey all,we branched for M41. Details:Branch number: 2272Branched chromium at rev: 310958
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
On Thu, Jan 15, 2015 at 7:05 AM, Jochen Eisinger <joc...@chromium.org> wrote:Hey all,we branched for M41. Details:Branch number: 2272Branched chromium at rev: 310958This looks like the 'Cr-Commit-Position'. With sha1 it is easier to see which commit this rev is referring to. Maybe in the next announce you can use the sha1 instead? Or both?
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
Please don't stop giving Cr-Commit-Positions (anywhere). I argued hard to have Cr-Commit-Position in the first place and it makes version management (like bisecting, bug diagnosis, merging, etc) immeasurably easier. So please, use commit position wherever you can when describing versions, like when you report a bug from ToT.A hash is only useful when specifically using the Git tool. A commit position can be used for activities outside of Git like checking whether a commit made it into the branch, without having to use tools to do so.
Could we write a git extension that looks up a commit by its Cr-Commit-Position?
% git log -1 $(git rev-parse :/#310958)
Could we write a git extension that looks up a commit by its Cr-Commit-Position?
Splitting this discussion into a separate thread (see quoted part for context).Yeah, it sounds very useful -- thanks Stefan!For some more bike-shedding:
- I think you should do both or neither of Steve's suggestions; that is: if it only prints the hash, it should be called crrev-parse (by analogy with rev-parse; it's immediately obvious what it should do, and if someone wants to shorten it they can make an alias). If it does a "git show" then it should be called crrev, to avoid confusion with rev-parse.
I'm trying this. I want to get the sha1 for https://src.chromium.org/viewvc/chrome?revision=285367&view=revision$ git crrev-parse 285367fatal: ambiguous argument 'refs\/remotes\/origin/master': unknown revision or path not in the working tree.Use '--' to separate paths from revisionsWhat is the correct command line for this?
On Thu, Feb 12, 2015 at 4:12 PM, Stefan Zager <sza...@chromium.org> wrote:On Thu Feb 12 2015 at 10:02:33 AM Thiago Farina <tfa...@chromium.org> wrote:I'm trying this. I want to get the sha1 for https://src.chromium.org/viewvc/chrome?revision=285367&view=revision$ git crrev-parse 285367fatal: ambiguous argument 'refs\/remotes\/origin/master': unknown revision or path not in the working tree.Use '--' to separate paths from revisionsWhat is the correct command line for this?git crrev-parse doesn't work for pre-git-migration commits. For that, you have to use the old 'git svn find-rev' command (which depends on your checkout having the old git-svn setup):$ git svn find-rev r2853673ffa36ac334638a691f804b468d2d359feba2de8
Aha! find-rev works for me. Probably time to add a new alias (find-sha1?).