darcs

Issue 225 Record merge dates

Title Record merge dates
Priority wishlist Status wont-fix
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, luke, markstos, thorkilnaur, tommy
Assigned To
Topics

Created on 2006-07-24.21:26:08 by luke, last changed 2009-08-27.13:53:33 by admin.

Messages
msg829 (view) Author: luke Date: 2006-07-24.21:26:04
There should be a way to record the time a patch is merged (and log further 
unmerges and remerges) into a repository. Repositories can be identified by a 
UUID, if not already. This would allow one to see exactly what a repository 
looked like at a certain time.
msg2875 (view) Author: markstos Date: 2008-01-30.01:00:55
While I see that this could useful in some case, it also strikes me as difficult
and unnecessary. 

There is a simple workaround for getting logging when some patches are pulled:

Before pulling, do this: 

darcs tag prepull

You have now just indicated that you are "just about to pull" at a particular
moment, merging the patches that follow until the next prepull tag. 

Darcs does not "remerge" because it has better accounting practices. An
"unmerge" log could be creating another tag just before rolling back. 

This system could even be automated by use of the darcs hook system. 

I vote for resolving this ticket as "wont-fix".
msg2907 (view) Author: droundy Date: 2008-01-30.16:49:14
I agree.  We've already got one mechanism, tags, for recording the state of a
repository, and I see no reason to add another.  We could potentially add an
auto-tag option to pull/apply, but I'm not sure anyone would actually want to
use that.
msg2910 (view) Author: luke Date: 2008-01-30.17:21:47
Why don't you care about keeping the history of the repository? That's the 
primary purpose of recording all this in the first place!
msg2915 (view) Author: markstos Date: 2008-01-30.19:16:10
Luke-Jr wrote:
> 
> Why don't you care about keeping the history of the repository? That's the 
> primary purpose of recording all this in the first place!

Luke,

The tag mechanism does record the state of the repository and provides a 
specific timestamp.

Darcs is open source and you are welcome to implement the feature in 
your own copy, or hire or persuade any one else to add the feature. If 
it seems popular or there is more demand from this feature, it could 
always be re-considered adding it to the mainline release.

    Mark
msg2917 (view) Author: daveroundy Date: 2008-01-30.19:39:41
On Jan 30, 2008 2:16 PM, Mark Stosberg <bugs@darcs.net> wrote:
> > Why don't you care about keeping the history of the repository? That's the
> > primary purpose of recording all this in the first place!

No, it's not.  The primary purpose of darcs is to track of changes,
not a history of repository states.  If you want the latter, you
should either use a different tool that is designed for this purpose
(e.g. git), or recognize that since you're using darcs to do something
it's not designed for, it won't always work as smoothly as you might
like.

David
msg2919 (view) Author: luke Date: 2008-01-30.19:52:33
On Wednesday 30 January 2008, David Roundy wrote:
> On Jan 30, 2008 2:16 PM, Mark Stosberg <bugs@darcs.net> wrote:
> > > Why don't you care about keeping the history of the repository? That's
> > > the primary purpose of recording all this in the first place!
>
> No, it's not.  The primary purpose of darcs is to track of changes,
> not a history of repository states.

Merging patches is a change.
msg2923 (view) Author: markstos Date: 2008-01-30.19:57:27
> Merging patches is a change.

So create a tag before or after you merge, and automate that if you want 
to.

   Mark
msg2925 (view) Author: daveroundy Date: 2008-01-30.20:00:57
On Jan 30, 2008 2:52 PM, Luke-Jr <bugs@darcs.net> wrote:
> Merging patches is a change.

If you want to use git, use git.

David
History
Date User Action Args
2006-07-24 21:26:08lukecreate
2008-01-30 01:00:56markstossetstatus: unread -> unknown
nosy: + markstos, kowey, beschmi
messages: + msg2875
2008-01-30 16:49:15droundysetstatus: unknown -> wont-fix
nosy: droundy, tommy, beschmi, kowey, markstos, luke
messages: + msg2907
2008-01-30 17:21:48lukesetnosy: droundy, tommy, beschmi, kowey, markstos, luke
messages: + msg2910
2008-01-30 19:16:12markstossetnosy: droundy, tommy, beschmi, kowey, markstos, luke
messages: + msg2915
2008-01-30 19:39:42daveroundysetnosy: + daveroundy
messages: + msg2917
2008-01-30 19:52:34lukesetnosy: droundy, tommy, beschmi, kowey, markstos, luke, daveroundy
messages: + msg2919
2008-01-30 19:57:28markstossetnosy: droundy, tommy, beschmi, kowey, markstos, luke, daveroundy
messages: + msg2923
2008-01-30 20:00:58daveroundysetnosy: droundy, tommy, beschmi, kowey, markstos, luke, daveroundy
messages: + msg2925
2008-09-28 20:49:45adminsetnosy: + dagit, thorkilnaur, simon, - daveroundy
2009-08-06 17:40:01adminsetnosy: + jast, Serware, dmitry.kurochkin, darcs-devel, zooko, mornfall, - droundy, luke
2009-08-06 20:50:58adminsetnosy: - beschmi
2009-08-10 21:53:46adminsetnosy: + luke, - darcs-devel, zooko, jast, Serware, mornfall
2009-08-10 23:55:11adminsetnosy: - dagit
2009-08-25 17:26:25adminsetnosy: + darcs-devel, - simon
2009-08-27 13:53:33adminsetnosy: tommy, kowey, markstos, darcs-devel, luke, thorkilnaur, dmitry.kurochkin