New submission from gh <[email protected]>:

Similar to the previous "right away" patch.

1 patch for repository http://darcs.net:

Sun Aug 22 12:43:14 ART 2010  Guillaume Hoffmann <[email protected]>
  * send prints remote address right away

----------
files: send-prints-remote-address-right-away.dpatch, unnamed
messages: 12266
nosy: gh
status: needs-review
title: send prints remote address right away

__________________________________
Darcs bug tracker <[email protected]>
<http://bugs.darcs.net/patch357>
__________________________________
New patches:

[send prints remote address right away
Guillaume Hoffmann <[email protected]>**20100822154314
 Ignore-this: bd428e547137caa1a2b9862981e63085
] hunk ./src/Darcs/Commands/Send.lhs 155
         here <- getCurrentDirectory
         when (repodir == toFilePath here) $
            fail ("Can't send to current repository! Did you mean send --context?")
-        repo <- identifyRepositoryFor repository repodir
-        them <- readRepo repo
         old_default <- getPreflist "defaultrepo"
hunk ./src/Darcs/Commands/Send.lhs 156
-        setDefaultrepo repodir input_opts
         when (old_default == [repodir] && not (Quiet `elem` input_opts)) $
              putStrLn $ "Creating patch to "++formatPath repodir++"..."
hunk ./src/Darcs/Commands/Send.lhs 158
+        repo <- identifyRepositoryFor repository repodir
+        them <- readRepo repo
+        setDefaultrepo repodir input_opts
         wtds <- decideOnBehavior input_opts repo
         sendToThem repository input_opts wtds repodir them
     where the_context [] = return Nothing

Context:

[Restore obliterate output options.
Eric Kow <[email protected]>**20100815211308
 Ignore-this: 7a561054370ff4ee87f89556e391e8dd
 
 They were removed for Darcs 2.5, but we can keep them in unstable
 and resolve the underlying bug instead.
 
 rolling back:
 
 Sun Aug 15 20:20:10 BST 2010  Reinier Lamers <[email protected]>
   * resolve issue1924: remove output options of obliterate
 
      ./tests/issue1909-unrecord-O-misses-tag.sh -> ./tests/failing-issue1909-unrecord-O-misses-tag.sh
     M ./src/Darcs/Commands/Unrecord.lhs -3 +1
] 
[Resolve conflict between 'Also set binary mode' duplicates.
Eric Kow <[email protected]>**20100815205035
 Ignore-this: dd6c205afb649768a7be93e23e7defb
] 
[Reframe Darcs.Match.matchFirstPatchset documentation.
Eric Kow <[email protected]>**20100813172244
 Ignore-this: b78a42d6dcc56a12eedebc31c6e82641
 This says the same thing but hopefully makes it easier to grasp.
] 
[Improve module-level documentation for Darcs.Match.
Eric Kow <[email protected]>**20100813171053
 Ignore-this: c58ea6edfd1e1a6f1e18d13c5dd70ff
] 
[Move Darcs.Match module-specific haddock to module level.
Eric Kow <[email protected]>**20100813164759
 Ignore-this: fad00c742590d0775a57bc3ec4878efe
 Also correct last_match to secondMatch.
] 
[Tweak complaint about DARCS_CONNECTION_TIMEOUT.
Eric Kow <[email protected]>**20100812114200
 Ignore-this: a8b968847283d5e726f95285db8a418b
] 
[Add environment variable DARCS_CONNECTION_TIMEOUT
[email protected]**20100811212121
 Ignore-this: a9d945925956f1c9d3c27d9e02b66de6
] 
[Tighten up section on per-repository caches a bit.
Eric Kow <[email protected]>**20100812112056
 Ignore-this: c16eb0d0a85a18f75dfae4be5b2780c
 Particularly, we want to avoid mixing in the notion of conflicts,
 which could confuse users.
] 
[Adding information about cache handling to manual
[email protected]**20100811200211
 Ignore-this: 3a794fa6509c0b454f89b8552b2a19cd
] 
[Tweak title case for repository formats chapter for consistency.
Eric Kow <[email protected]>**20100812103910
 Ignore-this: 895e769be91810a2cfd9c475541d4f08
] 
[Add DARCS_CONNECTION_TIMEOUT info to user manual
[email protected]**20100811190100
 Ignore-this: cd46eca91eccf1c9d3a5643c39cec5df
] 
[Correct error code for curl operation timeout
[email protected]**20100810215522
 Ignore-this: 26067bd441b2b7fabaadce67851f0ef9
] 
[Adding some haddock to Cache.hs
[email protected]**20100810215116
 Ignore-this: 34560d0bfcf1da1690742421b835caf
] 
[Accept issue1913: buggy mapPrimFL.
Eric Kow <[email protected]>**20100810173448
 Ignore-this: 298f8bb5a3dbebafd6de809593a077fb
] 
[remove redundant imports in Patchy and Real
Jason Dagit <[email protected]>**20100807160837
 Ignore-this: 2babfb43cb1f340876ae9ce914c1a454
] 
[fix conflict in Bundle
Jason Dagit <[email protected]>**20100807160542
 Ignore-this: 1bdbe27903b8f464838ab97b9c3df12f
] 
[remove try combinator from ReadMonads
Jason Dagit <[email protected]>**20100807160342
 Ignore-this: 80bb069e6744788d69d8cec5eb1a438a
] 
[micro optimizations to parser code
Jason Dagit <[email protected]>**20100807160148
 Ignore-this: 876d06693dca962b60f9a81740978765
 These micro-optimizations should always be safe; prefering ByteString
 over String and reducing packing/unpacking.
] 
[remove all uses of try from parser code
Jason Dagit <[email protected]>**20100807153421
 Ignore-this: 904f9415cf9b0a7f773a6b9b7b099007
] 
[ReadMonads no longer exports maybeWork fix other modules to match
Jason Dagit <[email protected]>**20100725175120
 Ignore-this: 437b41f08ca584d3ce0fc45cae7f207d
] 
[refactor Read to not rely on 'work'
Jason Dagit <[email protected]>**20100725163359
 Ignore-this: c2ed2d0babfff2a22c3cb3918dcac78a
] 
[ReadMonads no longer exports myLex, clean up imports in Real
Jason Dagit <[email protected]>**20100725144618
 Ignore-this: 7e305152e13b0a6b175c04e49ea1bd5
] 
[refactor Read to use myLex'
Jason Dagit <[email protected]>**20100725144403
 Ignore-this: aa7f97c4f2661d96615294add1ced7f8
] 
[ReadMonads no longer exports alterInput and clean up a few warnings
Jason Dagit <[email protected]>**20100725142911
 Ignore-this: 429ca05040f2ff94f7cbbde595f2b5de
] 
[cleanup import list of Patchy
Jason Dagit <[email protected]>**20100725141855
 Ignore-this: 7b096029f7c4521e924a619d09752515
] 
[remove peekInput from Real.  peekInput no longer exported from ReadMonads
Jason Dagit <[email protected]>**20100725141605
 Ignore-this: c49bf70941372ba9241f13f088371f5c
] 
[refactor Patchy to not use peekInput
Jason Dagit <[email protected]>**20100725135658
 Ignore-this: 853181469c09b52a5b8628a2f0dc8546
] 
[refactor Read and ReadMonads to remove peekInput from Read
Jason Dagit <[email protected]>**20100725133132
 Ignore-this: 787c8b8f3b5584472cfa4f83db671fde
] 
[add utility functions to ReadMonads
Jason Dagit <[email protected]>**20100725120651
 Ignore-this: 16edfdb6bb5c8c24600865854263e897
 The intention of these functions is that in the future we will be able
 to use more conventional notation to express parsers in the darcs source.
] 
[tune the patch parser
Jason Dagit <[email protected]>**20100725085610
 Ignore-this: 869bb399d759f19b1a2fdbb466743d17
 This patch is based on a few observations:
   * alterInput (const foo), completly replaces the parser's input
   * after peekInput, the above trick avoids redundant processing
   * best to leave a packed ByteString packed
] 
[Resolve issue1908: try to create a global cache before checking its availability.
Petr Rockai <[email protected]>**20100808122419
 Ignore-this: a93e6f5d4a1272fc49341236820a9833
] 
[Add a "buildbot-try" script to contrib that submits local changes to buildbot.
Petr Rockai <[email protected]>**20100808133328
 Ignore-this: 96e90b4581df1f297f423611d64c7
] 
[Skip testing of issue1599 on old-fashioned repos.
Petr Rockai <[email protected]>**20100808123648
 Ignore-this: 2bfa977b37c63dc22c8024994197d0af
] 
[Test for issue1599: expire unused caches
[email protected]**20100807211143
 Ignore-this: 8b77c20113c6b1d18019810ff7e11c3d
] 
[Fail more verbosely in issue1879-same-patchinfo-uncommon.sh.
Petr Rockai <[email protected]>**20100808105641
 Ignore-this: 88665b641ab15527c37c39b1bd78a772
] 
[Also set binary mode on stderr (we already had stdin/stdout).
Petr Rockai <[email protected]>**20100808095353
 Ignore-this: a3c37a0fb16fd27da1f47ee101d07295
] 
[Resolve issue1530: allow user to pick from multiple email address.
Eric Kow <[email protected]>**20100718113353
 Ignore-this: 531e6c9498f9155c1a8f926ee56a68e3
 If your global authors pref has more than one line in it, Darcs will
 prompt you something like:
 
   You have saved the following email addresses to your global settings:
   1. Fred Bloggs <[email protected]>
   2. Fred Bloggs <[email protected]>
   3. BLOGGS Fred <[email protected]>
   4. Other
   Please select an email address for this repository. 
] 
[Helper Darcs.Utils.askUserListItem to select from an arbitrary list.
Eric Kow <[email protected]>**20100718112610
 Ignore-this: 1583cecc95940234ea5703b01094afcb
] 
[Add a simple test for http get with packs.
Petr Rockai <[email protected]>**20100804190930
 Ignore-this: cab6334359dbf54c3087e0619d8af4b4
] 
[Add a simple non-network test for darcs get over http.
Petr Rockai <[email protected]>**20100804190927
 Ignore-this: c3545fe52f79ce9ae720499e381f3823
] 
[Resolve issue 1599: automatically expire unused caches
[email protected]**20100807003339
 Ignore-this: c12f0cd04794e2db03445b71815b9e3a
] 
[resolve issue1896: enable witnesses for library
Ganesh Sittampalam <[email protected]>**20100721053731
 Ignore-this: 5209e15b5d2c446eea5df2fe1fe700b5
] 
[Undo an edit to the issue1829 test, since the original was clearer.
Petr Rockai <[email protected]>**20100806131253
 Ignore-this: 925c73124e2b3d17239ccb7c47578f19
] 
[Add a test for issue1829 by Ganesh & Ian.
Petr Rockai <[email protected]>**20100806125230
 Ignore-this: 7e11a7b4b54f189e1864952ff048f0fb
] 
[Cut functions Darcs.Utils.putStrLnError and putDocLnError.
Eric Kow <[email protected]>**20100718102621
 Ignore-this: 92c29385add92fb7b875342842432b5a
] 
[Tidy Darcs.Utils exports.
Eric Kow <[email protected]>**20100718101900
 Ignore-this: 78740886b92947d941f0e3baa86ba3f2
] 
[Remove a couple of redundant type variables from foralls.
Petr Rockai <[email protected]>**20100806085630
 Ignore-this: 552924bfd0cf15cd9c5922a88ae282f9
] 
[Fix missing type signature in Darcs.Arguments.
Eric Kow <[email protected]>**20100726134237
 Ignore-this: 8f69ae4defc489d4a4ec9c5734fa2376
] 
[Fix warnings in Darcs.Repository.State.
Eric Kow <[email protected]>**20100723134611
 Ignore-this: 5a7c4a33c95ba3285721d0ade56adf1b
] 
[Fix warnings in Darcs.Repository.InternalTypes.
Eric Kow <[email protected]>**20100723134556
 Ignore-this: 66a361e0ff4b1a0c616fb11dafc6467c
] 
[Fix warnings in Darcs.Repository.HashedIO.
Eric Kow <[email protected]>**20100723134533
 Ignore-this: af2a60a5bf64d53240dc4498696c7a42
] 
[Fix warnings in Darcs.Repository.DarcsRepo.
Eric Kow <[email protected]>**20100723134515
 Ignore-this: 66f45d925ab9a7bce4c6e69ded8803fe
] 
[Fix warnings in Darcs.Patch.Prim.
Eric Kow <[email protected]>**20100723134501
 Ignore-this: dfd3b36b4b07e6de3b558073ac6bbe27
] 
[Fix redundant import warning in Darcs.Patch.Patchy.
Eric Kow <[email protected]>**20100723134447
 Ignore-this: 3fa7ffaf1b8098c4c0793c3ccc5ecb36
] 
[Fix redundant imports in Darcs.Patch.Commute.
Eric Kow <[email protected]>**20100723133540
 Ignore-this: 1c6919da737a8fd265a5dde9e94bbf35
] 
[Fix shadow warning in Darcs.Patch.Choices.
Eric Kow <[email protected]>**20100723133357
 Ignore-this: 88183e55fcac7c9fa2372f35decf643f
] 
[Fix redundant imports in Darcs.Patch.Apply.
Eric Kow <[email protected]>**20100723133239
 Ignore-this: dbf30f383e7a0684ca2b9cf9dcd50fb7
 Likely due to setScriptsExecutable refactor.
] 
[Fix RemoteDarcs related imports warning in Darcs.Flags and Darcs.RemoteApply.
Eric Kow <[email protected]>**20100723132408
 Ignore-this: f944bbc547fa4f8e1a70c8c3539ce6bc
] 
[Fix deprecation warning on GHC.Handle in Exec module.
Eric Kow <[email protected]>**20100723131847
 Ignore-this: 12a57c2a78af7d2c6428ec544cd09f98
 It looks like it was deprecated in GHC 6.12 along with the
 Unicode-oriented rewrite.
] 
[switch homepage to two-column format ala xmonad.org
Guillaume Hoffmann <[email protected]>**20100805134439
 Ignore-this: 21fa11e338fd9064b526f96c2f5be12
] 
[Re-enable packs and optimize --http.
Petr Rockai <[email protected]>**20100804185357
 Ignore-this: f86b0ea0c1008dbd173c7b8145be6803
] 
[Minimize the number of packed inventories
Alexey Levan <[email protected]>**20100802035445
 Ignore-this: 1f3d28bece5b29d599ea97be9bba5424
] 
[Use cache while getting a packed repository
Alexey Levan <[email protected]>**20100802024914
 Ignore-this: 33e44bdfce82d89fd243e7d628ce2c34
] 
[Hardlink files while getting a packed repository
Alexey Levan <[email protected]>**20100801050349
 Ignore-this: 8e6aa73b3a0cc84812d44beaaea701dd
] 
[Add pronoun to english module
[email protected]**20100803131432
 Ignore-this: 707096c1b8c9d0328524cb85ea76193e
] 
[Handle English nouns that end in y.
[email protected]**20100724172717
 Ignore-this: 49eed82e5949fc0d8e7d2775e9fd50c0
] 
[Make the "error applying hunk" error a lot more readable (and useful).
Petr Rockai <[email protected]>**20100727215711
 Ignore-this: d748d2632528d8e95453cb8cab76cd67
] 
[Haddock promptYorn.
Eric Kow <[email protected]>**20100718092334
 Ignore-this: 35ea778f5a5e44b8fb08a1b340b6b8a0
] 
[Add header to issue1790 test and make it follow convention more.
Eric Kow <[email protected]>**20100728142928
 Ignore-this: 29e6d64c5f3089ff6b7e081da5f853a4
] 
[Accept issue1790: darcs send --context foo
Eric Kow <[email protected]>**20100728142602
 Ignore-this: cd5d7f148d32ddbcea8d8cbb2282c2ea
 Submitted by Loup Vaillant.
] 
[Modernise System.Cmd import in Distribution.ShellHarness.
Eric Kow <[email protected]>**20100725220631
 Ignore-this: a785da33c6089635da687a9bfe957c2b
] 
[Restore looking for version number in exact-version context dump.
Eric Kow <[email protected]>**20100726114810
 Ignore-this: e18459c582c12c2e77b630f096f66190
 
 rolling back:
 
 Sun Jul 11 13:08:54 BST 2010  Reinier Lamers <[email protected]>
   * Don't look for version number in exact-version context dump
 
 Petr says it masks a bug in the release tarballs.
] 
[rename readPatchIds to better describe what it does
Jason Dagit <[email protected]>**20100723064832
 Ignore-this: aa207726cbe8894aab41c17bd01ee6ca
] 
[move readPatchIds to Darcs.Patch.Info
Jason Dagit <[email protected]>**20100723064511
 Ignore-this: 53f620c0f5ffda0ffd82693c27a70235
] 
[remove duplicate code, readPatchIds
Jason Dagit <[email protected]>**20100723063526
 Ignore-this: a1950afa8385b04aa9c03435e4c152cb
] 
[Slightly fix context generation in Setup.
Petr Rockai <[email protected]>**20100722111410
 Ignore-this: eb3b6637f24d62332c9452a3c4143f39
] 
[Fix "head: empty list" bug in Darcs.Flags.RemoteDarcs.
Petr Rockai <[email protected]>**20100715123140
 Ignore-this: fa172627824eb3937cad63223026db9e
] 
[Use Compression more widely, suppressing further [DarcsFlag] uses.
Petr Rockai <[email protected]>**20100715003449
 Ignore-this: d582d3bc381e73a964127aa3b87d0ffb
] 
[Replace some [DarcsFlag] uses with newly introduced RemoteDarcs.
Petr Rockai <[email protected]>**20100715003320
 Ignore-this: d018b8c9b328228b9d283b7ad824eb15
] 
[Remove --nolinks, since its scope and usefulness is very limited.
Petr Rockai <[email protected]>**20100715000822
 Ignore-this: 71427fcd09e59d5e4f443bcc4e5ca649
] 
[Restore set-scripts-executable in trackdown --bisect.
Eric Kow <[email protected]>**20100717124222
 Ignore-this: efa2e2bba8227542b5a63933f0748c9d
 Note: Petr Rockai originally submitted this work as an amendment to
 'Remove [DarcsFlag] parameters from apply.', but I must have
 accidentally pushed the first version before he sent it.  This patch
 has the same effect as his amendment.
] 
[Remove [DarcsFlag] parameters from apply.
Petr Rockai <[email protected]>**20100715002249
 Ignore-this: 707f8193561ce890dc6ed91d1001253b
] 
[Remove [DarcsFlag] argument from unrecordedChanges.
Petr Rockai <[email protected]>**20100714155059
 Ignore-this: 4ba064584b4846b0ca26f6e3199a955a
] 
[Fix up tests to refer to --name instead of --patch-name.
Petr Rockai <[email protected]>**20100715102618
 Ignore-this: 630cc96d79db0ee7af9c93fa3dbf5f15
] 
[Resolve issue1883: rename --patch-name option to --name.
Eric Kow <[email protected]>**20100715101608
 Ignore-this: 85ab2f1e23f8b561b323a9dfb94baa55
 This is usually used in darcs record in shorthand (-m) form.
 This rename is aimed at eliminating the confusion with the --patch
 matcher, which bites amend-record and rollback users.
] 
[get rid of join_patches
Ganesh Sittampalam <[email protected]>**20100712165037
 Ignore-this: f9a5ca3dcc690e3c1ed9f6778b07f542
] 
[stop using join_patches in Darcs.Test.Unit
Ganesh Sittampalam <[email protected]>**20100712165031
 Ignore-this: 563bbbd15f9f51cdfc8063b9dd7f8b0b
] 
[fix warning
Ganesh Sittampalam <[email protected]>**20100707061818
 Ignore-this: 4b9e468819689cfc768befa8eabe4a4f
] 
[fix unused variable warning
Ganesh Sittampalam <[email protected]>**20100707065338
 Ignore-this: b2a8e05c985912a78dc71748361271b1
] 
[fix name shadowing warning
Ganesh Sittampalam <[email protected]>**20100707065303
 Ignore-this: 79ab8367f22333f79f66e82d5f631dac
] 
[rename field names to avoid shadowing warnings
Ganesh Sittampalam <[email protected]>**20100707062714
 Ignore-this: 6be53f3ee1ef4915bdd722153b0675e0
] 
[fix unused code warning
Ganesh Sittampalam <[email protected]>**20100707062701
 Ignore-this: 3475bca718b26e5056c3ad7448a346dc
] 
[fix shadowing warnings
Ganesh Sittampalam <[email protected]>**20100707062324
 Ignore-this: 45d7d142735754357e7b9c53eb2c25df
] 
[fix warning
Ganesh Sittampalam <[email protected]>**20100707062320
 Ignore-this: 33b1a5f0d5895f04257e4eb133addfc5
] 
[fix warning
Ganesh Sittampalam <[email protected]>**20100707062315
 Ignore-this: ad3da11afad97816fcd832baf25c311f
] 
[remove dead code
Ganesh Sittampalam <[email protected]>**20100707062309
 Ignore-this: a3462879709597df56cf28d239b71eef
] 
[TAG 2.4.98.3
Reinier Lamers <[email protected]>**20100815194519
 Ignore-this: e3a3c30d7dd2fbe49c846c48510a9c3c
] 
Patch bundle hash:
73d5c6dfa65e2e168d739fb7b415058ce61d62c0

Attachment: unnamed
Description: Binary data

_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to