On or about 2009 Jan 14, at 3:41 AM, TK Soh indited:
> I am _for_ adding the record support. It's just not there because I
> only had [very little] time to work on the shelve support (you look
> probably tell by looking at the patch queue revisions). As I
> mentioned, the work I have so far is just a [prove-of-concept]
> prototype.

OK, thanks! That wasn't clear to me from the discussion.

> What you don't see in TortoiseHg doesn't necessary mean that they had
> been voted out [by me] :-)

:-)


>>> Yes, there are times when I want to have 2 or 3 shelves that I can
>>> manage as I bounce around a tree making "emergency/critical" fixes.
>
> Are you sure shelving/unshelving is the right thing to do? What happen
> to the clone-fix-commit-pull-update flow?

The missing step in hour flow there is transplant. Shelve feels easier  
if I am in the middle of a change when an important must-fix interrupt  
comes in.

>> Yes, there are times when I have a big hunk of stuff and what I want
>> to do is just commit it in pieces.
>
> I wonder what lead to the big chunk of changes that you have to commit
> later in small pieces. I understand it happens, that's why we have the
> record/shelve extension. But maybe you don't commit often enough?

I don't know about your case, but I follow a work flow that says you  
improve code as you come across it. So if in the middle of doing <X>,  
I find that I can improve some other thing <Y> (that I just happened  
to stumble across), I prefer to do it in the heat of the moment so  
that I don't forget to come back. Much much much easier than flipping  
over to some other window to make a note, etc. Then I can record my  
original changes and the bonus-freebie-improvements separately.

> I have a strong feeling that Matt never uses the record extension, let
> alone hgshelve. In some way, they encourage bad practice.

When I forced into CVS exile I found the lack of record encouraged  
even worse practice. Either I just wouldn't bother improving other  
code, or worse one of those kind of changes would get buried in with  
something else.

> Confession: I wrote the hgshelve extension because it's a good
> challenge. It might sound strange, but I never use it in actual
> development work.

Well, I am glad you did, because I love it and use it! (Not every day,  
but often)

--Doug


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to