On Mon, 16 Oct 2006, Aaron Bentley wrote:Hey, "simple" is in the eye of the beholder. You can always just define Bazaar's naming convention to be simple. I pretty much _guarantee_ that a "number" is not a valid way to uniquely name a revision in a distributed environment, though. I bet the "number" really only names a revision in one _single_ repository, right? Which measn that it's actually not a "name" of the revision at all. It's just a local shorthand that has no meaning, and the exact same revision will be called something different when in somebody elses repository. I wouldn't call that "simple". I'd call it "insane". In contrast, in git, a revision is a revision is a revision. If you give the SHA1 name, it's well-defined even between different repositories, and you can tell somebody that "revision XYZ is when the problem started", and they'll know _exactly_ which revision it is, even if they don't have your particular repository. Now _that_ is true simplicity. It does automatically mean that the names are a bit longer, but in this case, "longer" really _does_ mean "simpler". If you want a short, human-readable name, you _tag_ it. It takes all of a hundredth of a second to to or so. Yes. Well, in the git world, it's really just one shared repository that has separate branch-namespaces, and separate working trees (aka "checkouts"). So yes, it probably matches what bazaar would call a checkout. Almost nobody seems to actually use it that way in git - it's mostly more efficient to just have five different branches in the same working tree, and switch between them. When you switch between branches in git, git only rewrites the part of your working tree that actually changed, so switching is extremely efficient even with a large repo. So there is seldom any real need or reason to actually have multiple checkouts. But it certainly _works_. The fact is, git supports renames better than just about anybody else. It just does them technically differently. The fact that it happens to be the _right_ way, and everybody else is incompetent, is not my fault ;) Linus - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Mark Lord | 2.6.25-rc8: FTP transfer errors |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Steven Whitehouse | [GFS2 & DLM] Proposed patches for 2.6.20 merge window [0/54] |
| Tony Lindgren | [PATCH 54/90] ARM: OMAP: Update timer32k.c to compile |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Alexey Dobriyan | Re: [GIT]: Networking |
| Andrew Morton | Re: [BUG] New Kernel Bugs |
git: | |
