[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] branch naming conventions
From: |
Zbynek Winkler |
Subject: |
Re: [Monotone-devel] branch naming conventions |
Date: |
Sun, 30 Oct 2005 11:14:21 +0100 |
User-agent: |
Debian Thunderbird 1.0.2 (X11/20050602) |
Nathaniel Smith wrote:
The branch naming conventions debate came up on IRC again today:
http://colabti.de/irclogger/irclogger_log/monotone?date=2005-10-29,Sat&sel=19#l140
So I made up a page for people to look at some options and gather some
opinions...:
http://venge.net/monotone/wiki/BranchNamingConventions
Ok, I have this in my head for some time so now may be a good time to
get it out :-)
When everything has hash-based unique id why should branches be any
different? Every database would maintain mapping between the unique ids
and some human readable form (which could be anything - globaly unique
or not). That would allow easy (local) renaming of branches while not
forcing a naming convention.
Everything could stay the same only where now the branch name is would
be the guid. Should the user want to use the guid, he/she could. But a
database-local mapping could be created to assign names to the branches
(not versioned). The ui code would map the names to the guids and back.
What do you think?
Zbynek
--
http://zw.matfyz.cz/ http://robotika.cz/
Faculty of Mathematics and Physics, Charles University, Prague, Czech Republic