public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Alex Schuilenburg <alexs@ecoscentric.com>
To: Sergei Organov <osv@javad.com>
Cc: eCos discussion <ecos-discuss@ecos.sourceware.org>
Subject: Re: [ECOS]  Re: Tracking eCos as a hg/git submodule
Date: Thu, 15 Oct 2009 21:00:00 -0000	[thread overview]
Message-ID: <4AD78D62.9000602@ecoscentric.com> (raw)
In-Reply-To: <hb80v8$bcr$1@ger.gmane.org>

Sergei Organov wrote:
> Alex Schuilenburg <alexs@ecoscentric.com> writes:
>
> [...]
>
>   
>> I agree.  No sooner than I mention that you can refer locally to a
>> changesets by an alias (shorter id) instead of the SHA3 key, while git
>> AFAIK requires the full key, will somone in git-land go ahead and
>> implement it.  Or maybe they already have? ;-)
>>     
>
> No, they believe git doesn't need them and I tend to agree. Not only you
> can use just first few digits of SHA to reference a revision in git, but
> also git has nice syntax to refer to revisions back in history
> relatively, i.e., HEAD~3 means 3 revisions back from HEAD (for those who
> doesn't know git, HEAD is the symbolic name for the commit your current
> working tree is based on).
>   
hg equivalent to HEAD is tip, and I just discovered that hg also accepts
the first few digits of SHA.  Go figure...  Learn something new everyday...
>
>> There is so much feeding off ideas between the two camps I don't think
>> so. Nothing stands out as a definitive deal-breaking feature-grabbing
>> feature. IMHO we are really just talking about two variants of the
>> same class of car.
>>     
>
> Hg insists on recording copies and renames at commit time, while git
> detects copies and renames at the time of execution of particular
> operation that needs this information. And yes, both have their pros and
> cons.
>
> From the user point of view it means that in hg you must remember to use
> "hg rename" and "hg copy" when appropriate (and blame yourself should
> you forget to do it), while in git you are free from this duty (now tell
> me which one is easier to use ;))
>   
Depends whether you trust gits ability to detect renames and copies.  I
also prefer knowing what my DRCS is going to do by telling it, rather
than it guessing and doing it, so I am not a fan of the "hg
guessrenames" extension written to match git's behaviour you describe
above, so I choose not to install/enable it.  So I say hg is easier,
because I can choose whether I want this this behaviour ;-P  Oh, wait,
git...

I am going to stop now with the feature bashing because I dont think we
are getting anywhere, other than proving exactly how similar git's and
hg's features are.  I have a bugzilla upgrade to get on with.

-- Alex Schuilenburg

Managing Director/CEO                                eCosCentric Limited
www.ecoscentric.com


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

      reply	other threads:[~2009-10-15 21:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-14 11:37 [ECOS] " Øyvind Harboe
2009-10-14 13:20 ` Alex Schuilenburg
2009-10-14 13:39   ` Patrick Doyle
2009-10-14 13:47     ` Øyvind Harboe
2009-10-14 13:41   ` Øyvind Harboe
2009-10-15 12:42   ` [ECOS] " Sergei Organov
2009-10-15 15:29     ` Alex Schuilenburg
2009-10-15 20:34       ` Sergei Organov
2009-10-15 21:00         ` Alex Schuilenburg [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AD78D62.9000602@ecoscentric.com \
    --to=alexs@ecoscentric.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=osv@javad.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).