[darcs-devel] darcs patch: issue366: test when unrevert reports a bug

2008-01-30 Thread Mark Stosberg
Wed Jan 30 23:23:13 EST 2008  Mark Stosberg <[EMAIL PROTECTED]>
  * issue366: test when unrevert reports a bug

New patches:

[issue366: test when unrevert reports a bug
Mark Stosberg <[EMAIL PROTECTED]>**20080131042313] {
addfile ./bugs/unrevert_cancel.sh
hunk ./bugs/unrevert_cancel.sh 1
+#!/bin/sh
+
+# From issue366 bug report
+
+set -ev
+
+test $DARCS || DARCS=$PWD/../darcs
+
+rm -rf temp1
+mkdir temp1
+cd temp1
+$DARCS init
+touch a 
+touch b
+$DARCS add *
+$DARCS record -A moi -am init
+echo plim >> a
+echo plim >> b
+echo y/y/y/ | tr / \\012 | $DARCS revert
+echo ploum >> a 
+echo ny | tr / \\012 | $DARCS unrevert
}

Context:

[roll back foolish file modification time hack.
David Roundy <[EMAIL PROTECTED]>**20080130224322
 
  As it turns out, I didn't understand what "ctime" means, thinking that it
  was actually a "creation" time.  But alas, ctime changes whenver mtime
  changes, so we can't use their equality to check if the mtime has been
  set.  Ugh.  I feel silly.
 
 rolling back:
 
 Wed Jan 30 12:12:32 EST 2008  David Roundy <[EMAIL PROTECTED]>
   * employ new hack to avoid need to wait for clock to tick.
   The new hack is that if the creation time and modification time of a file
   in the pristine cache are identical, then we don't believe it's meaningful
   if the modification time happens to match that of the file in the working
   directory.
 
 M ./src/Darcs/Lock.lhs -1 +4
 M ./src/Darcs/Repository/Prefs.lhs -4 +8
 M ./src/Darcs/SlurpDirectory.lhs -12 +9
] 
[refactor readPatchInfo using Maybe monad.
David Roundy <[EMAIL PROTECTED]>**20080130220306] 
[fix issue46, parsing problem caused by wrong use of error.
David Roundy <[EMAIL PROTECTED]>**20080130220129] 
[hide convert.
David Roundy <[EMAIL PROTECTED]>**20080130213945
 Since this is a command that *must* be performed only once per group of
 related repositories, I think making it only visible in the documentation
 should reduce errors.
] 
[remove --darcs-2 from get options (issue606)
David Roundy <[EMAIL PROTECTED]>**20080130213712] 
[fix imports for win32.
David Roundy <[EMAIL PROTECTED]>**20080130212629] 
[make rollback default to a long comment indicating what was rolled back.
David Roundy <[EMAIL PROTECTED]>**20080130200814] 
[employ new hack to avoid need to wait for clock to tick.
David Roundy <[EMAIL PROTECTED]>**20080130171232
 The new hack is that if the creation time and modification time of a file
 in the pristine cache are identical, then we don't believe it's meaningful
 if the modification time happens to match that of the file in the working
 directory.
] 
[fix build failure under win32 (hopefully).  Sorry!
David Roundy <[EMAIL PROTECTED]>**20080130170953] 
[rollback features that apparently are needed.
David Roundy <[EMAIL PROTECTED]>**20080129203711
 These seem to be needed (at least some of them) to do
 
 darcs get http://darcs.net/repos/unstable
] 
[[issue558] Singular 'do you want to revert this change?'
Eric Kow <[EMAIL PROTECTED]>**20080129163633] 
[Refactor SelectChanges English.
Eric Kow <[EMAIL PROTECTED]>**20080129163619] 
[Add some simple English morphology.
Eric Kow <[EMAIL PROTECTED]>**20080129163613] 
[fix ssh connection business to work if one darcs command accesses two distinct repos on same server.
David Roundy <[EMAIL PROTECTED]>**20080129162911] 
[Remove features not used in parsing patch dates.
Eric Kow <[EMAIL PROTECTED]>**20080129092401] 
[[issue625] Non-recursive --repodir.
Eric Kow <[EMAIL PROTECTED]>**20080128193459] 
[Do not announce recipients in send -O.
Eric Kow <[EMAIL PROTECTED]>**20080128151812] 
[Test for issue625.
Eric Kow <[EMAIL PROTECTED]>**20080128150059] 
[[issue457] Check match syntax early.
Eric Kow <[EMAIL PROTECTED]>**20080128144840] 
[ratify use of hGetContents.
David Roundy <[EMAIL PROTECTED]>**20080129150247] 
[Fix curl version check for pipelining.
Dmitry Kurochkin <[EMAIL PROTECTED]>**20080128223731] 
[refactor issue154 test to match Eric Kow's echo_to_darcs() refactor. The test should pass.
Mark Stosberg <[EMAIL PROTECTED]>**20080129004921] 
[Update docs for echo_to_darcs() to match Eric Kow's code refactor
Mark Stosberg <[EMAIL PROTECTED]>**20080129004448] 
[Adding Test/Builder/Module.pm to the tree, unmodified.
Mark Stosberg <[EMAIL PROTECTED]>**20080129003230
 Thanks to Kevin Quick for noticing this was missing.
] 
[Extract external-merge from {apply,pull} conflict options.
[EMAIL PROTECTED] 
[Don't emit \r when the handle is a terminal.
[EMAIL PROTECTED] 
[Replace unpull by obliterate as much as possible.
[EMAIL PROTECTED] 
[Move rollback to another section of TheCommands.
[EMAIL PROTECTED] 
[give progress output when getting over ssh.
David Roundy <[EMAIL PROTECTED]>**20080128222133] 
[remove progress output that seems too often to be unhelpful.
David Roundy <[EMAIL PROTECTED]>**20080128221922] 
[nicer error message in ssh connection code.
David Roundy <[EMAIL PROTECTED]>**20080128221229] 
[use new ssh connection for copySSHs as well (speed my test up 

Re: [darcs-devel] darcs patch: issue366: test when unrevert reports a bug

2008-01-31 Thread David Roundy
On Wed, Jan 30, 2008 at 11:23:51PM -0500, Mark Stosberg wrote:
> Wed Jan 30 23:23:13 EST 2008  Mark Stosberg <[EMAIL PROTECTED]>
>   * issue366: test when unrevert reports a bug

Applied.  Thanks!
-- 
David Roundy
Department of Physics
Oregon State University
___
darcs-devel mailing list
darcs-devel@darcs.net
http://lists.osuosl.org/mailman/listinfo/darcs-devel