Re: [darcs-devel] GHC's darcs evaluation wiki page

2008-03-10 Thread Jason Dagit
On Mon, Mar 10, 2008 at 5:37 PM, Mark Stosberg [EMAIL PROTECTED] wrote: I know that as potential hacker I'm turned off when I see lines like this: wspfr _ _ NilRL _ = return Nothing wspfr jn matches (p::pps) skipped ( from SelectChange.lhs, line 183) In the programming culture I come

Re: [darcs-devel] help with buildbot on macos?

2008-03-05 Thread Jason Dagit
On Wed, Mar 5, 2008 at 11:59 AM, David Roundy [EMAIL PROTECTED] wrote: Hi all, Our macos buildbot (see http://darcs.net:8008/) is hanging when running steve_and_monica_rollback.sh. I've no desire to track this down via the buildboby pushing printf-style debug tests to the central

Re: [darcs-devel] [issue728] darcs does not understand backspace

2008-03-04 Thread Jason Dagit
On Tue, Mar 4, 2008 at 8:27 PM, Josh Wilcox [EMAIL PROTECTED] wrote: New submission from Josh Wilcox [EMAIL PROTECTED]: Because darcs does not handle backspace in the expected way when I find it almost impossible to add reasonable patch names. This is extremely irritating. What is it

Re: [darcs-devel] darcs patch: make Hopefully have type witnesses

2008-02-16 Thread Jason Dagit
On Feb 16, 2008 10:40 AM, Eric Y. Kow [EMAIL PROTECTED] wrote: Hi Jason, This patch seems to make list_authors and darcs changes hang on my macbook. Any ideas? I made a copy of my working repo, reverted everything back to where this patch was on the top, compiled and ./list_authors and

Re: [darcs-devel] darcs patch: make Hopefully have type witnesses

2008-02-15 Thread Jason Dagit
On Fri, Feb 15, 2008 at 10:58 AM, David Roundy [EMAIL PROTECTED] wrote: On Fri, Feb 15, 2008 at 10:18:04AM -0800, Jason Dagit wrote: Sun Feb 10 01:00:34 PST 2008 Jason Dagit [EMAIL PROTECTED] * make Hopefully have type witnesses Thanks! This looks good, but I've got one question

[darcs-devel] darcs patch: make Hopefully have type witnesses

2008-02-15 Thread Jason Dagit
This is an amended version of the previous refactor to Hopefully. Hopefully this one is better? :) Thanks, Jason Fri Feb 15 12:31:30 PST 2008 Jason Dagit [EMAIL PROTECTED] * make Hopefully have type witnesses New patches: [make Hopefully have type witnesses Jason Dagit [EMAIL PROTECTED

Re: [darcs-devel] Where is unstable?

2008-02-14 Thread Jason Dagit
On Thu, Feb 14, 2008 at 5:39 PM, Mark Stosberg [EMAIL PROTECTED] wrote: Jokes aside, I think you have the addresses right. However, I noticed if I type them into Firefox, they don't seem to work, but when I darcs pull, they seem to. I seem to be banging my head against issue692. I can fix

[darcs-devel] darcs patch: Make HashedIO.lhs compile with type witn... (and 1 more)

2008-02-08 Thread Jason Dagit
Fri Feb 8 10:41:26 PST 2008 Jason Dagit [EMAIL PROTECTED] * Make HashedIO.lhs compile with type witnesses Fri Feb 8 10:41:49 PST 2008 Jason Dagit [EMAIL PROTECTED] * Add Depends and HashedIO to witnesses in make file New patches: [Make HashedIO.lhs compile with type witnesses Jason

Re: [darcs-devel] darcs patch: Change read_repo to return SealedPatchSet (and 2 more)

2008-02-08 Thread Jason Dagit
On Feb 8, 2008 5:34 PM, Jason Dagit [EMAIL PROTECTED] wrote: Fri Feb 8 17:32:15 PST 2008 Jason Dagit [EMAIL PROTECTED] * make Cache p work with type witnesses I think this last one does the wrong thing. For some reason if a type signature starts with: RepoPatch p = Cache p Then I have

[darcs-devel] [issue660] Make it easier to find darcs source repositories from darcs.net

2008-02-07 Thread Jason Dagit
New submission from Jason Dagit [EMAIL PROTECTED]: The main darcs webpage at http://darcs.net does not immediately show you where to get access to the darcs source repositories. Furthermore, http://darcs.net/repos is not browse-able making it harder to discover the repositories

[darcs-devel] darcs patch: Add links to darcs repositories to main webpage

2008-02-07 Thread Jason Dagit
Quick and dirty hack to add links to the darcs.net webpage. Please edit as needed. Thanks, Jason Thu Feb 7 14:41:20 PST 2008 Jason Dagit [EMAIL PROTECTED] * Add links to darcs repositories to main webpage New patches: [Add links to darcs repositories to main webpage Jason Dagit [EMAIL

[darcs-devel] darcs patch: amended Depends.lhs for type witnesses

2008-02-07 Thread Jason Dagit
Thu Feb 7 14:17:06 PST 2008 Jason Dagit [EMAIL PROTECTED] * amended Depends.lhs for type witnesses New patches: [amended Depends.lhs for type witnesses Jason Dagit [EMAIL PROTECTED]**20080207221706] { hunk ./src/Darcs/Patch/Depends.lhs 421 \end{code} \begin{code} -commute_to_end

Re: [darcs-devel] darcs patch: (Re)upgrade createPS and generatePS to D... (and 8 more)

2008-02-06 Thread Jason Dagit
On Feb 6, 2008 8:48 AM, David Roundy [EMAIL PROTECTED] wrote: On Wed, Feb 06, 2008 at 11:44:42AM -0500, David Roundy wrote: Maybe we can egg on the bytestring people and get them to submit patches taking this further down (for example, they could improve our between newlines and nth

Re: [darcs-devel] [issue647] automated benchmarking and comparison

2008-02-06 Thread Jason Dagit
On Feb 6, 2008 9:24 AM, Eric Kow [EMAIL PROTECTED] wrote: New submission from Eric Kow [EMAIL PROTECTED]: It would be really useful to have a quick and dirty benchmarking script that we can either distribute with or alongside darcs The script would just encode some current darcs

Re: [darcs-devel] darcs patch: make Depends.lhs compile with type witnesses

2008-02-06 Thread Jason Dagit
Sorry, I guess my last compile/testrun with type witnesses didn't happen. I just noticed a compile error in Depends.lhs. Please ignore this patch as it will be superseded by a correct one amend-recorded one. Thanks, Jason On Feb 6, 2008 2:16 PM, Jason Dagit [EMAIL PROTECTED] wrote: Wed Feb

Re: [darcs-devel] darcs patch: Append CPPFLAGS to GHCFLAGS in autoconf.... (and 4 more)

2008-02-05 Thread Jason Dagit
On Feb 5, 2008 6:43 AM, David Roundy [EMAIL PROTECTED] wrote: On Mon, Feb 04, 2008 at 09:05:55PM -0800, Jason Dagit wrote: On Feb 4, 2008 4:30 PM, Dmitry Kurochkin [EMAIL PROTECTED] wrote: Some fixes and cleanups for configure checks. And fix for copyRemotesNormal - if we use

Re: [darcs-devel] [issue642] Automatic detection of file renames

2008-02-04 Thread Jason Dagit
On Feb 4, 2008 10:30 AM, Alexander Staubo [EMAIL PROTECTED] wrote: I would love to see someone use kernel facilities such as FSEvents [1] on OS X and inotify [2] on Linux to accomplish this. (There are also others such as fam [3], and Windows has its own easy-to-use API.) I remember someone

Re: [darcs-devel] darcs patch: Append CPPFLAGS to GHCFLAGS in autoconf.... (and 4 more)

2008-02-04 Thread Jason Dagit
On Feb 4, 2008 4:30 PM, Dmitry Kurochkin [EMAIL PROTECTED] wrote: Some fixes and cleanups for configure checks. And fix for copyRemotesNormal - if we use copyUrlFirst the first patch is downloaded last. So we lock in waitUrl and progress indication stops. On a similar note, how can we make

Re: [darcs-devel] How do I darcs get http://darcs.net/darcs-patch-theory?

2007-08-03 Thread Jason Dagit
Conflictors are no more and it seems their repository disappeared as well. No one was sure how to really solve the problems using conflictors. We're now knee deep in a different approach that we refer to as 'conflict handling'. We're adding cancellation patches and conflicted patches. Patches

[darcs-devel] Re: Example Conflicts

2007-08-03 Thread Jason Dagit
On 8/3/07, Simon Marlow [EMAIL PROTECTED] wrote: David Roundy wrote: On Wed, Aug 01, 2007 at 01:58:29AM +0100, Ian Lynagh wrote: And the cancel A patch doesn't have any sort of reference to B in it? Right. I seem to remember there was a problem with this approach. Perhaps not a

Re: [darcs-devel] Use System.Directory.copyFile for file copying

2007-07-31 Thread Jason Dagit
Fantastic analysis. Exactly what I was looking for. I'm now convinced :) The icing on the cake would be to check this on various platforms but I'm convinced enough already. Thanks! Jason On 7/30/07, Kevin Quick [EMAIL PROTECTED] wrote: On Sat, 28 Jul 2007 17:23:13 -0700, Jason Dagit [EMAIL

Re: [darcs-devel] Use System.Directory.copyFile for file copying

2007-07-19 Thread Jason Dagit
On 7/18/07, Kevin Quick [EMAIL PROTECTED] wrote: Presumably it's faster to let the System.Directory.copyFile perform the file copying than working through the PackedString and the IO monad. My testing didn't show any real timing difference, but it may have less effect on memory/GC issues and

Re: [darcs-devel] the straw that broke the camel's back

2007-07-12 Thread Jason Dagit
On 7/12/07, Stefan O'Rear [EMAIL PROTECTED] wrote: On Fri, Jul 13, 2007 at 01:55:26AM +0200, Juliusz Chroboczek wrote: The fact that this problem occurs rather often suggests that there are serious issues with darcs as it stands. I think we are all aware of that. In its current state,

Re: [darcs-devel] darcs patch: Added mergeFL and mergeFL_FL (and 4 more)

2007-07-11 Thread Jason Dagit
). Thanks, Jason On 7/10/07, Jason Dagit [EMAIL PROTECTED] wrote: Hello, Here is the new merge algorithm that works with conflicts by creating 'conflicted' patches to store the conflicts in as they are discovered. I hadn't been showing this off yet, because I'm not sure if it really is order independent

Re: [darcs-devel] advice on GADT type witnesses needed

2007-06-20 Thread Jason Dagit
from ghc). Thanks, Jason Simon | -Original Message- | From: Ian Lynagh [mailto:[EMAIL PROTECTED] | Sent: 15 June 2007 15:53 | To: Jason Dagit | Cc: [EMAIL PROTECTED]; darcs-devel@darcs.net; Simon Peyton-Jones | Subject: Re: [darcs-devel] advice on GADT type witnesses needed | | On Thu, Jun

Re: [darcs-devel] darcs patch: start gadt stuff (and 29 more)

2007-06-16 Thread Jason Dagit
On 6/16/07, David Roundy [EMAIL PROTECTED] wrote: I hope that's clear. I know it's pretty brief. My implementation actually uses unsafeCoerce# internally when parsing Conflicted patches. We could have avoided this by storing the inverse of the conflicted patch and its context, but it didn't

Re: [darcs-devel] darcs patch - remove libcurl dependency

2007-06-14 Thread Jason Dagit
On 6/14/07, Eric Y. Kow [EMAIL PROTECTED] wrote: Would the loss of this functionality be acceptable if darcs had some kind of extra verbose mode, where it printed out all the patches it was trying to get? Or would calling wget still be useful/more flexible for other reasons? I'm a huge fan of

Re: [darcs-devel] advice on GADT type witnesses needed

2007-06-14 Thread Jason Dagit
On 6/14/07, David Roundy [EMAIL PROTECTED] wrote: src/Darcs/Patch/Show.lhs:50:0: Quantified type variable `y' is unified with another quantified type variable `x' When trying to generalise the type inferred for `showPatch' Signature type: forall x y. Patch x y - Doc

Re: [darcs-devel] Darcs performance and stability

2007-06-11 Thread Jason Dagit
Hello! On 6/11/07, Samuel A. Falvo II [EMAIL PROTECTED] wrote: I don't mean to whack a hornet's nest here, but recently I've had a very disturbing issue with darcs where it corrupted its repository on a company project. I found myself in a situation where I needed to fork a single project and

Re: [darcs-devel] Activation Patches

2007-06-06 Thread Jason Dagit
On 6/4/07, Ganesh Sittampalam [EMAIL PROTECTED] wrote: On Wed, 30 May 2007, Jason Dagit wrote: As you may know, I'm part of an effort to improve conflict handling in darcs. We have come up with a plan that allows users to cancel and activate patches (more on this later). Implementing

Re: [darcs-devel] Activation Patches

2007-05-31 Thread Jason Dagit
Thank you very much for the questions. Hopefully David will comment about the name patches (below) or on any mistakes I've made. On 5/30/07, Ian Lynagh [EMAIL PROTECTED] wrote: On Wed, May 30, 2007 at 03:49:35PM -0700, Jason Dagit wrote: 2) An activation patch should never modify other

[darcs-devel] Activation Patches

2007-05-30 Thread Jason Dagit
Hello, After what seems like an eternity of bumbling with patch theory and a lot of help from David, I've implemented activation patches as a new patch type in darcs. Below is a description of what I learned, what I did, and why. I hope that by describing what I learned others can begin

Re: [darcs-devel] changing (PatchInfo, Maybe Patch) to (PatchInfo, Hopefully Patch)

2006-12-09 Thread Jason Dagit
On 12/9/06, David Roundy [EMAIL PROTECTED] wrote: Hi all, I've just started (an hour ago) converting all the (PatchInfo, Maybe Patch) instances in darcs to (PatchInfo, Hopefully Patch) where data Hopefully a = Actually a | Unavailable String Is there a reason to not use 'Either a String'

Re: [darcs-devel] Re: darcs patch: use System.Process on Windows, and a few more

2006-12-09 Thread Jason Dagit
On 12/9/06, Eric Y. Kow [EMAIL PROTECTED] wrote: On Sun, Dec 10, 2006 at 00:33:07 +0100, Tommy Pettersson wrote: Just a thought: debian will have GHC 6.6 in their next release, so we could possibly skip 6.4 support (when we drop 6.2). That would make life so much simpler. It would give us a

[darcs-devel] Darcs Contributors

2006-12-08 Thread Jason Dagit
Hello, Recently, I was inspired by Donald Stewart to create a plot of # of patches contributed by darcs contributors. I borrowed a gnuplot script from Don and created this: http://files.codersbase.com/commiters-2006-12-08.png It's not yet automated but it shouldn't be too hard to automate if

[darcs-devel] darcs patch: make it an error to put into a preexisting directory.

2006-12-03 Thread Jason Dagit
On 12/3/06, David Roundy [EMAIL PROTECTED] wrote: Hi all, Here's a change in behavior that I think will be an improvement. The current behavior has bitten me once, scattering a repository directly into my home directory, which was quite a pain. I agree this new behavior is better than the

Re: [darcs-devel] [issue332] Feature request: ask to record if tests fail

2006-11-07 Thread Jason Dagit
Josh, This should be fairly easy to implement. Modify test_patch in Test.lhs so that it checks for --ask-record-on-failed-test (or whatever sounds good). Also look at ArgumentDefault.lhs, DarcsArguments.lhs, DarcsCommand.lhs and DarcsFlags.lhs to get a feel for how to implement the commandline

Re: [darcs-devel] [issue330] guidance on hacking would be useful

2006-11-04 Thread Jason Dagit
We have a developer FAQ http://darcs.net/DarcsWiki/DeveloperFAQ And some developer Tips http://darcs.net/DarcsWiki/DeveloperTips You're right that we should probably say something about tabs, but on the other hand with the test suite checking for it gets found right away for most people :) And

[darcs-devel] darcs patch: add HACKING file

2006-11-04 Thread Jason Dagit
Sat Nov 4 13:47:49 PST 2006 Jason Dagit [EMAIL PROTECTED] * add HACKING file New patches: [add HACKING file Jason Dagit [EMAIL PROTECTED]**20061104214749] { addfile ./HACKING hunk ./HACKING 1 +For more information about darcs hacking and best practices please check +the darcs wiki at http

Re: [darcs-devel] darcs patch: Require 'permission denied' test for MacOS X again.

2006-10-12 Thread Jason Dagit
On 10/8/06, Eric Y. Kow [EMAIL PROTECTED] wrote: On Sat, Sep 30, 2006 at 15:13:06 +0200, Eric Kow wrote: Sat Sep 30 14:10:32 CEST 2006 Eric Kow [EMAIL PROTECTED] * Require 'permission denied' test for MacOS X again. Nobody complained, so it's going in. I just verify that on my machine

Re: [darcs-devel] Greetings and some questions

2006-10-02 Thread Jason Dagit
On 10/2/06, Dino Morelli [EMAIL PROTECTED] wrote: Also, I see a lot of underscore-style functions like get_long_darcs_opt_string. Is there a naming preference for this project? I can only speak for myself, but I'd say no underscores. I prefer camel case for Haskell code. Others? Working on

Re: [darcs-devel] [issue275] Unrecording fails

2006-10-01 Thread Jason Dagit
Simon, What does 'darcs --exact-version' say? I just want to make sure you don't have a terribly old darcs here. Thanks, Jason On 9/29/06, simonpj [EMAIL PROTECTED] wrote: New submission from simonpj [EMAIL PROTECTED]: Dear Darcsers, It's not my day. I recorded patch, but by mistake gave

Re: [darcs-devel] New ignore and unignore commands

2006-09-13 Thread Jason Dagit
On 9/13/06, Eric Y. Kow [EMAIL PROTECTED] wrote: Also, another patch which I would be interested in is one that adds tests for the mechanism. What tests exactly, I'm not entirely sure. Some examples might be making sure that ignored files really are ignored, that there aren't any weird

Re: [darcs-devel] Logging

2006-09-11 Thread Jason Dagit
On 9/11/06, Juliusz Chroboczek [EMAIL PROTECTED] wrote: What do people think? What actual problem are you trying to solve? To quote myself: I was working on the darcs source today and I realized that in a lot of ways the current logging output is poor. Mostly we don't have enough of it.

Re: [darcs-devel] Logging

2006-09-11 Thread Jason Dagit
On 9/11/06, David Roundy [EMAIL PROTECTED] wrote: On Sun, Sep 10, 2006 at 04:12:28PM -0700, Jason Dagit wrote: Hello, I was working on the darcs source today and I realized that in a lot of ways the current logging output is poor. Mostly we don't have enough of it. Here are some changes

Re: [darcs-devel] Logging

2006-09-11 Thread Jason Dagit
On 9/11/06, Eric Y. Kow [EMAIL PROTECTED] wrote: I'd rather avoid putting an Int into verbose, as in my experience this makes it hard to keep consistent levels of verbosity than otherwise. I'd go with something more like I have no opinion on whether having multiple levels of verbosity is a

Re: [darcs-devel] Logging

2006-09-11 Thread Jason Dagit
On 9/11/06, Eric Y. Kow [EMAIL PROTECTED] wrote: On Mon, Sep 11, 2006 at 14:17:30 -0700, Jason Dagit wrote: Although I hadn't mentioned it yet, I was actually hoping that at some point in the distance future we may extend the IO monad to carry around some extra details and at that time logStr

Re: [darcs-devel] darcs patch: Fix Windows stderr non-redirection. (and 1 more)

2006-09-09 Thread Jason Dagit
On 9/9/06, Eric Y. Kow [EMAIL PROTECTED] wrote: On Sat, Sep 09, 2006 at 22:10:14 +0200, Tommy Pettersson wrote: Anyway, I had some difficulty reading the code (most of the code in Exec.lhs), so I tried to make it more readable, which (for me at least) means more simple. So I only kept one

[darcs-devel] darcs patch: whatsnew --look-for-adds doesn't read unadded files (f...

2006-09-08 Thread Jason Dagit
Fri Sep 8 10:09:47 PDT 2006 Jason Dagit [EMAIL PROTECTED] * whatsnew --look-for-adds doesn't read unadded files (fix for issue79) Changes darcs whatsnew --look-for-adds to by default stop computing the patch for a while when it realizes the file is not managed by darcs. This matches

Re: [darcs-devel] darcs patch: whatsnew --look-for-adds doesn't read unadded files (f...

2006-09-08 Thread Jason Dagit
On 9/8/06, Tommy Pettersson [EMAIL PROTECTED] wrote: On Fri, Sep 08, 2006 at 10:26:07AM -0700, Jason Dagit wrote: Fri Sep 8 10:09:47 PDT 2006 Jason Dagit [EMAIL PROTECTED] * whatsnew --look-for-adds doesn't read unadded files (fix for issue79) Changes darcs whatsnew --look-for-adds

Re: [darcs-devel] Getting a repository into a slurpy

2006-08-24 Thread Jason Dagit
On 8/24/06, Edwin Thomson [EMAIL PROTECTED] wrote: Hello I'm finding darcs's diff command to be unusably slow for large repositories, so I'm trying to speed it up. Darcs seems to do diff by making two copies of the repository, with different patches applied on each, which results in a lot of

Re: [darcs-devel] [issue247] buggy pending

2006-08-22 Thread Jason Dagit
On 8/22/06, Jonathon McKitrick [EMAIL PROTECTED] wrote: New submission from Jonathon McKitrick [EMAIL PROTECTED]: Not sure how this happened, but I was running 1.0.2. You should definitely consider upgrading. 1.0.2 - 1.0.8 fixes a lot of bugs and dramatically improves performance. I hit

Re: [darcs-users] Re: [darcs-devel] Patchwork Setup

2006-08-18 Thread Jason Dagit
On 4/23/06, Juliusz Chroboczek [EMAIL PROTECTED] wrote: Juliusz and I have talked a bit about how we can modify the current setup to work well with the darcs development style. We did mention a way to keep the webpage in sync with the repository, Just as a side note -- some of you may

Re: Re: [darcs-devel] Exporting env vars to the posthook

2006-08-03 Thread Jason Dagit
On 8/2/06, Eric Y. Kow [EMAIL PROTECTED] wrote: Some initial comments: On Wed, Aug 02, 2006 at 18:14:40 -0700, Nathaniel Gray wrote: Aside from some aesthetic objections, the only serious problem I see is that changing the method used to execute the posthook from System.Cmd.system to

Re: [darcs-devel] Exporting env vars to the posthook

2006-08-03 Thread Jason Dagit
On 8/2/06, Nathaniel Gray [EMAIL PROTECTED] wrote: Jason Dagit wrote: On 8/2/06, Eric Y. Kow [EMAIL PROTECTED] wrote: Some initial comments: On Wed, Aug 02, 2006 at 18:14:40 -0700, Nathaniel Gray wrote: Aside from some aesthetic objections, the only serious problem I see is that changing

Re: [darcs-devel] darcs send here?

2006-08-02 Thread Jason Dagit
Sure, that gives everyone a chance to read it. BTW, there is some documentation on how to keep your maintainer happy. Here are a few links just in case you didn't see it already: http://darcs.net/pipermail/darcs-devel/2006-January/003934.html http://darcs.net/DarcsWiki/DeveloperFAQ

Re: [darcs-devel] Darcs crashes on GHC repository

2006-07-03 Thread Jason Dagit
I would rather not see this mailing list turn into a debate forum for political/social/economic/legal issues (unless they are very directly related to darcs, such as what license darcs should be released under). Please continue this discussion elsewhere. Thank you for your cooperation. Jason

Re: [darcs-devel] May I please combine darcs with OpenSSH? (and Eclipse and SWT too?)

2006-05-21 Thread Jason Dagit
On 5/21/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Dear David Roundy and darcs-devel: [snip] Therefore, I would like to ask permission from you, the authors of darcs, to combine darcs with openssh, Eclipse, and SWT. I hereby ask the copyright holders to grant me permission to use the

Re: [darcs-devel] darcs patch: Tidy up comment for working dir in patch... (and 3 more)

2006-05-14 Thread Jason Dagit
On 5/14/06, Juliusz Chroboczek [EMAIL PROTECTED] wrote: Sun May 7 18:30:09 CEST 2006 Eric Kow [EMAIL PROTECTED] * Tidy up comment for working dir in patch apply. +-- | Note: The expression (@apply flags working p@) applies the patch +-- to whatever directory-like monad you are in. If

Re: [darcs-devel] darcs patch: Add --[no-]check-patch option and checkpatch pref ...

2006-05-12 Thread Jason Dagit
I haven't tested the patch, but the code looks clean and I look forward to a feature like this. But I have some questions. How general is this approach? It looks like you've added this 'check' in one place so far. Do you think you could generalize this to a prehook? That is, all commands can

Re: [darcs-devel] darcs patch: fixed double-import glitch.

2006-04-28 Thread Jason Dagit
FWIW, upgrading from ghc 6.4 - 6.4.1 fixed the problem when I reported it for OSX. Thanks, Jason On 4/28/06, Juliusz Chroboczek [EMAIL PROTECTED] wrote: -import DarcsRepo ( seekRepo, youNeedToBeInRepo ) According to Don Stewart, This was a ghc 6.4.0 buglet. Its fixed in ghc 6.4.1 Please

Re: [darcs-devel] [issue164] Darcs record and whatsnew should support paging

2006-04-24 Thread Jason Dagit
I second this suggestion. On 4/24/06, Jonathan Daugherty [EMAIL PROTECTED] wrote: New submission from Jonathan Daugherty [EMAIL PROTECTED]: It would be really great if one could set DARCS_PAGER=/path/to/pager to be used when reviewing patches interactively in record and whatsnew modes (and

Re: [darcs-devel] New Patch Format sticky spots

2006-04-22 Thread Jason Dagit
On 4/22/06, Tommy Pettersson [EMAIL PROTECTED] wrote: On Thu, Apr 20, 2006 at 10:56:09PM -0700, Jason Dagit wrote: 1) How many bytes do line endings add to the length of the old or new content? Is it okay to assume line endings are exactly one byte in patches? I know this will hold

Re: [darcs-devel] New Patch Format sticky spots

2006-04-22 Thread Jason Dagit
On 4/22/06, Ian Lynagh [EMAIL PROTECTED] wrote: [replying to 2 messages in one] On Sat, Apr 22, 2006 at 10:15:07AM -0700, Jason Dagit wrote: I found some time tonight to start implementing a different format for hunks. Very simple but meant to allow skipping over data. hunk filename

Re: [darcs-devel] darcs patch: Propagate opts to withRepoLock. (and 5 more)

2006-04-18 Thread Jason Dagit
On 4/18/06, Travis Cross [EMAIL PROTECTED] wrote: Jason Dagit wrote: On 4/7/06, Juliusz Chroboczek [EMAIL PROTECTED] wrote: This is a resend of my previous patch, reduced to only hack umasks. The functionality of Uid and Gid is better handled with the sgid directory hack. Sat Mar 25

[darcs-devel] Darcs Wiki is down

2006-04-16 Thread Jason Dagit
Hello, It seems that the darcs wiki is down. When I visit the wiki I get a diagnostics page that begins with the error: IOError[Errno 122] Disk quota exceeded Thanks, Jason ___ darcs-devel mailing list darcs-devel@darcs.net

Re: [darcs-devel] darcs patch: Propagate opts to withRepoLock. (and 5 more)

2006-04-15 Thread Jason Dagit
On 4/7/06, Juliusz Chroboczek [EMAIL PROTECTED] wrote: This is a resend of my previous patch, reduced to only hack umasks. The functionality of Uid and Gid is better handled with the sgid directory hack. Sat Mar 25 20:06:22 CET 2006 Juliusz Chroboczek [EMAIL PROTECTED] * Propagate opts to

[darcs-devel] darcs patch: added make target for generating api-docs (and 1 more)

2006-04-15 Thread Jason Dagit
I don't know what happened to this patch so I'm resubmitting a version against darcs-unstable. Thanks, Jason Sat Apr 15 20:14:33 PDT 2006 Jason Dagit [EMAIL PROTECTED] * added make target for generating api-docs Sat Apr 15 20:26:02 PDT 2006 Jason Dagit [EMAIL PROTECTED] * corrections

Re: [darcs-devel] Patchwork Setup

2006-04-15 Thread Jason Dagit
On 3/22/06, Zachary P. Landau [EMAIL PROTECTED] wrote: On 3/22/06, Jason Dagit [EMAIL PROTECTED] wrote: On 3/22/06, Zachary P. Landau [EMAIL PROTECTED] wrote: Anyway I set this up so people can get a feel for it and see if they like it. If it isn't found to be very useful, I'll take

Re: [darcs-devel] Patchwork Setup

2006-04-15 Thread Jason Dagit
On 4/15/06, Zachary P. Landau [EMAIL PROTECTED] wrote: A step behind that is to have someone interested enough to mark when a patch ends up in the stable and unstable branches. I guess the final goal would be having the repository maintainers mark patches as being

[darcs-devel] Compilation Problems on OSX with current darcs-unstable (2006-04-08)

2006-04-08 Thread Jason Dagit
I just grabbed a fresh copy of the latest unstable and tried to compile but I get these messages: $ make ghc -cpp -package QuickCheck -package util -package parsec -O -funbox-strict-fields -Wall -Werror -I. -DHAVE_CURSES -DHAVE_CURL -c Repository.lhs Repository.lhs:1:0: Warning: `seekRepo'

[darcs-devel] Re: Compilation Problems on OSX with current darcs-unstable (2006-04-08)

2006-04-08 Thread Jason Dagit
to investigate further. I've never seen problems like this on this machine when compiling darcs. On 4/8/06, Jason Dagit [EMAIL PROTECTED] wrote: I just grabbed a fresh copy of the latest unstable and tried to compile but I get these messages: $ make ghc -cpp -package QuickCheck -package util -package

Re: [darcs-devel] darcs patch: Add test case for issue154 (rmdir on non... (and 2 more)

2006-04-07 Thread Jason Dagit
On 4/7/06, Juliusz Chroboczek [EMAIL PROTECTED] wrote: +apply :: WriteableDirectory m + = [DarcsFlag] + - Bool -- ^ working directory - if True, this means some inconsitencies such + -- as removing a non-empty directory are treated as warnings, not +

Re: [darcs-devel] [issue154] removing a non-empty directory is catastrophically painful

2006-03-29 Thread Jason Dagit
On 3/29/06, Eric Kow [EMAIL PROTECTED] wrote: New submission from Eric Kow [EMAIL PROTECTED]: (setting to bug because I need a priority, although whether this is actually a bug is debatable) Even though an error is given the patch is considered applied isn't? So then to make your repo

Re: [darcs-devel] Patchwork Setup

2006-03-22 Thread Jason Dagit
On 3/22/06, Zachary P. Landau [EMAIL PROTECTED] wrote: Hello, Recently we were discussing having an archive of pending patches. I finally managed to get patchwork[1] mostly setup. You can try it out here[2]. I made an admin account 'test:test' if you want to try that part out. You'll

Re: [darcs-devel] darcs patch: posthook success/failure messages with -... (and 1 more)

2006-03-01 Thread Jason Dagit
On 3/1/06, Juliusz Chroboczek [EMAIL PROTECTED] wrote: * issue79 fix, whats -l no longer computes full patch for new files Jason, Please remove the old version of diff_added rather than just commenting it out. I'll be glad to apply this patch when you do. Juliusz, It's been so long

Re: [darcs-devel] darcs patch: Adds target: api-doc. api-doc is genera... (and 1 more)

2006-03-01 Thread Jason Dagit
On 3/1/06, Juliusz Chroboczek [EMAIL PROTECTED] wrote: * Adds target: api-doc. api-doc is generated by haddock This needs further discussion. Who of you would actually use Haddock-generated docs if we decided to use Haddock markup? (I know I wouldn't.) I know I would, which is why I

Re: [darcs-devel] [issue141] darcs cat command

2006-02-28 Thread Jason Dagit
On 2/28/06, Marnix Klooster [EMAIL PROTECTED] wrote: Jason Dagit wrote: On 2/28/06, Eric Kow [EMAIL PROTECTED] wrote: New submission from Eric Kow [EMAIL PROTECTED]: I believe this is one of the minor to-do list items we came up with in FOSDEM. Somebody ought to implement a 'darcs

Re: [darcs-devel] [issue135] fail: too many open files

2006-02-15 Thread Jason Dagit
On Feb 15, 2006, at 4:47 PM, Zooko wrote: New submission from Zooko [EMAIL PROTECTED]: Trying to push a large number of patches (on the order of 1500) results in: darcs: takeFile _darcs/patches/ 20020725234351-24431-19d247bd5009053de8c6a09f10b94e2207b5f7de.gz-0 in

Re: [darcs-devel] [issue126] I wish I could split a hunk in two when recording it.

2006-02-03 Thread Jason Dagit
On Feb 3, 2006, at 6:07 PM, Zooko wrote: New submission from Zooko [EMAIL PROTECTED]: I've often wished for this. Also my co-worker Rob just wished for it. Could you give an example? The idea of splitting a hunk makes no sense to me. Thanks, Jason

Re: [darcs-devel] [PATCH] run a hook for each patch on apply

2006-01-31 Thread Jason Dagit
On Jan 30, 2006, at 10:30 PM, Olivier Thauvin wrote: This patch make darcs running a script for each patch apply by 'apply' command. Very nice. If exists, _darcs/prefs/onapply is called with patch hash as first argument. The goal is clearly to send a mail when a new commit is done on a

Re: [darcs-devel] [issue109] I wish darcs.cgi would tell me who, when on the patch description page.

2006-01-25 Thread Jason Dagit
My thought about this bug is that we should get rid of darcs.cgi and adopt one of the other projects like darcsweb or darcs+trac as the official darcs cgi. (I'm not suggesting we merge the projects) Any thought? Thanks, Jason On Jan 25, 2006, at 2:05 PM, Zooko wrote: New submission from

Re: [darcs-devel] darcs patch: Do not reread freshly written patch when recording.

2006-01-18 Thread Jason Dagit
On Jan 16, 2006, at 9:02 AM, Ian Lynagh wrote: That said, it seems Jason's numbers are including mmapped files, so it's not clear exactly what's going on. Yes the previous numbers did include mmap and I hadn't realized it was important to exclude mmap'd data. Using Ian's memory

Re: [darcs-devel] Repository.writePatch (issue80)

2006-01-17 Thread Jason Dagit
On Jan 17, 2006, at 4:17 PM, Juliusz Chroboczek wrote: Jason, could you please repeat this test with a mere 100MB commit? What would you like me to focus on if I do that? I've done this test with 37MB commit I must have missed your report of that. I'll search the archives. I don't know

Re: [darcs-devel] darcs patch: Adds target: api-doc. api-doc is generated by haddock

2006-01-16 Thread Jason Dagit
On Jan 16, 2006, at 5:34 AM, Juliusz Chroboczek wrote: * Adds target: api-doc. api-doc is generated by haddock Are we willing to start writing Haddock mark-up in the sources? If we decide we do, there's no going back. Yes, I think it would be a good thing. I also don't see it as

Re: [darcs-devel] Repository.writePatch (issue80)

2006-01-16 Thread Jason Dagit
On Jan 16, 2006, at 6:23 AM, Juliusz Chroboczek wrote: Jason, could you please repeat this test with a mere 100MB commit? What would you like me to focus on if I do that? I've done this test with 37MB commit and my findings then were pretty close to my findings here as I recall.

Re: [darcs-devel] Repository.writePatch (issue80)

2006-01-16 Thread Jason Dagit
On Jan 16, 2006, at 5:41 AM, Juliusz Chroboczek wrote: Total time (wall clock) orig: 5 hours + no-reread: 6 minutes Peak RES (as measured by top) orig: 940MB no-reread: 950MB Am I reading this correctly? This unoptimisation makes Darcs 50 times faster on large records while not using

Re: [darcs-devel] darcs patch: Do not reread freshly written patch when recording.

2006-01-16 Thread Jason Dagit
On Jan 16, 2006, at 8:09 AM, Juliusz Chroboczek wrote: Sat Jan 14 04:22:52 PST 2006 Jason Dagit [EMAIL PROTECTED] * Do not reread freshly written patch when recording. I've looked at the code again -- and I'm puzzled. I s'pose it's linesPS biting us again. Maybe, I had at least one

Re: [darcs-devel] [issue59] darcs review command to review patch patches as if during a pull

2006-01-15 Thread Jason Dagit
Zachary, Thanks for this feature, I eagerly await it. Thanks, Jason ___ darcs-devel mailing list darcs-devel@darcs.net http://www.abridgegame.org/cgi-bin/mailman/listinfo/darcs-devel

Re: [darcs-devel] Repository.writePatch (issue80)

2006-01-15 Thread Jason Dagit
On Jan 15, 2006, at 7:34 AM, Aggelos Economopoulos wrote: On Sunday 15 January 2006 05:04, Jason Dagit wrote: Peak RES (as measured by top) orig: 940MB no-reread: 950MB Peak VIRT (as measured by top) orig: 1756MB no-reread: 1289MB When I realized that orig had consumed more time and space

Re: [darcs-devel] Repository.writePatch (issue80)

2006-01-15 Thread Jason Dagit
On Jan 15, 2006, at 5:20 AM, Ian Lynagh wrote: On Sat, Jan 14, 2006 at 07:04:53PM -0800, Jason Dagit wrote: I think the numbers speak for themselves. I think they are saying different things to me and you. Not as different as you think. But I should have said what I was thinking. I

Re: [darcs-devel] Repository.writePatch (issue80)

2006-01-15 Thread Jason Dagit
On Jan 15, 2006, at 5:20 AM, Ian Lynagh wrote: If things have regressed then the regression should be fixed, not consolidated by forcing the patch to remain in memory. You can find some of the discussion of the optimisation work from before in the archives, incidentally, e.g. around:

[darcs-devel] Repository.writePatch (issue80)

2006-01-14 Thread Jason Dagit
Hello, I was looking a issue80 and I discovered that Repository.writePatch reads the freshly written patch. This is a very expensive operation given the current patch format. So I started to wonder why it does that. This took me to DarcsRepo.write_patch which led me to

Re: [darcs-devel] darcs patch: Do not reread freshly written patch when recording.

2006-01-14 Thread Jason Dagit
is happy, but as I said in my email I don't know if this change is complete. Does the return patch need to be modified at all? Thanks, Jason On Jan 14, 2006, at 4:23 AM, Jason Dagit wrote: Sat Jan 14 04:22:52 PST 2006 Jason Dagit [EMAIL PROTECTED] * Do not reread freshly written patch

Re: [darcs-devel] Repository.writePatch (issue80)

2006-01-14 Thread Jason Dagit
On Jan 14, 2006, at 12:22 PM, Jason Dagit wrote: On Jan 14, 2006, at 6:13 AM, Ian Lynagh wrote: On Sat, Jan 14, 2006 at 04:24:16AM -0800, Jason Dagit wrote: I was looking a issue80 and I discovered that Repository.writePatch reads the freshly written patch. This is a very expensive

Re: [darcs-devel] darcs patch: workaround for issue79

2006-01-13 Thread Jason Dagit
On Jan 13, 2006, at 9:27 AM, Juliusz Chroboczek wrote: * workaround for issue79 Jason, Could you please make sure you provide more explicit patch names in the future? I'd be happy to. But, let me say first, this patch is superseded by a patch named fix for issue79 which had a better

[darcs-devel] darcs patch: removed last bits of create-repo from makefile (issue14)

2006-01-13 Thread Jason Dagit
Juliusz, This is a resend. Thanks, Jason Fri Jan 13 13:24:32 PST 2006 Jason Dagit [EMAIL PROTECTED] * removed last bits of create-repo from makefile (issue14) New patches: [removed last bits of create-repo from makefile (issue14) Jason Dagit [EMAIL PROTECTED]**20060113212432] { hunk

[darcs-devel] darcs patch: posthook success/failure messages with -... (and 1 more)

2006-01-13 Thread Jason Dagit
for testing changes? Maybe I'm being over cautious... Thanks, Jason Fri Jan 13 12:49:30 PST 2006 Jason Dagit [EMAIL PROTECTED] * posthook success/failure messages with --verbose only Changes behavior of posthook status messages. Use --verbose to have posthook status messages. Error

Re: [darcs-devel] How to submit patches that make your maintainer happy

2006-01-13 Thread Jason Dagit
On Jan 13, 2006, at 1:28 PM, Juliusz Chroboczek wrote: Dear Darcs contributors, I'm slowly starting to get the hang of that maintaining a branch business, so I thought I'd write up how you can increase my level of happiness. Of course, whether you actually want me to be happy is a matter of

[darcs-devel] darcs patch: Adds target: api-doc. api-doc is generated by haddock

2006-01-13 Thread Jason Dagit
them as well. If this is annoying I can separate those changes from the haddock support. They are lumped in here because by the time I realized I had included them the patch was already recorded. Thanks, Jason Fri Jan 13 16:42:04 PST 2006 Jason Dagit [EMAIL PROTECTED] * Adds target: api

  1   2   >