Commit Graph

8796 Commits

Author SHA1 Message Date
Greg Ward
7ad75fed52 Fix test-convert-cvsnt-mergepoints so it works reliably.
Specifically, always run 'cvs commit' with -f option to force commit;
add one strategic sleep which seems to be necessary for post-merge
clobber-and-commit (-f doesn't force a commit there?).
2009-06-15 20:35:19 -04:00
Greg Ward
2b10164cb6 test-convert-cvsnt-mergepoints: make it work on OS X.
- don't create file 'cvs' where directory 'CVS' already exists
2009-06-15 20:35:19 -04:00
Greg Ward
357a69bec3 test-convert-cvsnt-mergepoints: ignore differences between CVS 1.11 and 1.12.
- factor out cvsci function (similar to other test-convert-cvs* scripts)
- add filterpath function (also similar to other scripts)
- generally munge the output of CVS
- add lots of output to make it easier to follow when things go wrong

This doesn't make the test pass reliably under CVS 1.11; it just makes
it behave the same as under CVS 1.12, i.e. sometimes it passes and
sometimes it fails.  Failure is more frequent with faster hardware.
2009-06-15 20:35:19 -04:00
Greg Ward
bc8b9b1849 Rename CVSNT "mergepoints" test and make it executable.
- rename test-convert-cvs-builtincvsps-cvsnt-mergepoints
  (and related files) to test-convert-cvsnt-mergepoints
- this ensures that the test will be run, but does NOT make
  it pass: in particularly, it fails regularly for me due
  to the inconsistent behaviour of CVS itself
- expect "Branchpoints:" in debugcvsps output
2009-06-15 20:35:19 -04:00
Colin Caughie
53aca7b1bf Fixed patch.eol bug that truncated all patched lines to one character
Also updated the import-eol test to test with lines longer than one character,
and also empty lines.
2009-06-16 16:22:42 +01:00
Matt Mackall
5870ebfbb8 subrepo: add a test 2009-06-15 02:51:10 -05:00
Matt Mackall
459bbfbb56 subrepo: basic push support 2009-06-15 02:46:20 -05:00
Matt Mackall
430046de97 subrepo: add update/merge logic 2009-06-15 02:45:38 -05:00
Matt Mackall
fd08adf4d6 commit: recurse into subrepositories 2009-06-15 02:45:38 -05:00
Matt Mackall
ce2e49a0da subrepo: introduce basic state parsing 2009-06-15 02:45:38 -05:00
Patrick Mezard
7039de96dc Make mq, record and transplant honor patch.eol 2009-06-15 00:03:27 +02:00
Patrick Mezard
c1548a6a3e Add patch.eol to ignore EOLs when patching (issue1019)
The intent is to fix many issues involving patching when win32ext is enabled.
With win32ext, the working directory and repository files EOLs are not the same
which means that patches made on a non-win32ext host do not apply cleanly
because of EOLs discrepancies. A theorically correct approach would be
transform either the patched file or the patch content with the
encoding/decoding filters used by win32ext. This solution is tricky to
implement and invasive, instead we prefer to address the win32ext case, by
offering a way to ignore input EOLs when patching and rewriting them when
saving the patched result.
2009-06-15 00:03:26 +02:00
Brendan Cully
09380f981f gpg: add test 2009-06-14 13:32:19 -07:00
Brendan Cully
7809c80bee gpg: unbreak 070fa724b247. We need a test. 2009-06-14 12:18:46 -07:00
Matt Mackall
f004f8a57f share: allow dest to default to the basename of source 2009-06-13 18:16:44 -05:00
Matt Mackall
6d110ab62c Merge with crew 2009-06-13 18:08:51 -05:00
Matt Mackall
d9cad07c11 share: add experimental share extension 2009-06-13 18:01:48 -05:00
Matt Mackall
3132e79527 add helper function to create shared repos 2009-06-13 18:01:47 -05:00
Matt Mackall
66b213eda6 repo: add internal support for sharing store directories
set .hg/sharedpath to point to the .hg to share with
2009-06-13 18:01:46 -05:00
Patrick Mezard
3ce6a90f5f bisect: improve --command output
- Display tested revisions without --verbose
- Display revision number
2009-06-13 23:02:51 +02:00
Patrick Mezard
6d36e612e9 dirstate: fix typo introduced by ceed02d64e3b 2009-06-13 22:42:16 +02:00
Patrick Mezard
db9db15698 test-bisect: test --command option 2009-06-13 22:42:15 +02:00
Patrick Mezard
c30fe9a6df bisect: fix traceback when command executable is not found 2009-06-13 22:42:13 +02:00
Matt Mackall
7253321c4e remoteui: properly create dst with copy() 2009-06-12 02:19:51 -05:00
Matt Mackall
da6d619643 repo: set up ui and extensions earlier 2009-06-13 14:44:59 -05:00
John Mulligan
8806103077 localrepo: remove 'closed' argument to heads(...) function
- repository heads are not associated with the closed attribute, so
remove it making the code in line with the concept.
- Fix functions that were calling heads with the parameter.
- Adjust webcommands.branches to include the concept of inactive
as well as open and closed branches
- Fix code and docstrings in commands to make the correct use of
closed branches & branch heads clearer
- Improve grammar of 'hg heads' help text (2nd submission)

this does not alter the cli for hg branches, that work is
still to be done
2009-06-10 19:11:49 -04:00
Adrian Buehlmann
d4fe84d762 mq: eliminate warning on qpush with empty series
Warning was "DeprecationWarning: use lock.release instead of del lock"
2009-06-08 20:02:44 +02:00
Nicolas Dumazet
72d6c7e713 inotify: repowatcher: don't use a watches attribute to count watches
The encapsulated watcher alread has a __len__ method for this purpose.
Also, repowatcher.watches was never decremented on watch deletions.
2009-05-23 20:38:08 +09:00
Nicolas Dumazet
020e8eab5b inotify: put the "while True: poll()" loop in pollable class 2009-05-21 23:51:54 +09:00
Nicolas Dumazet
90ce932bee inotify: refactor (un)register methods into pollable object
repowatcher.master becomes unnecessary
2009-05-21 20:15:00 +09:00
Benoit Boissinot
c157c77a0e inotify.server: the decorator eventaction() shouldn't be a method of repowatcher 2009-06-13 18:41:28 +02:00
Nicolas Dumazet
25a9300077 inotify: add log config option redirect inotify server output to a file 2009-06-13 18:14:50 +02:00
Nicolas Dumazet
448395f76a cmdutil: service: logfile option to redirect stdout & stderr in a file 2009-05-25 18:14:32 +09:00
Nicolas Dumazet
28d2c833e7 inotify: raise QueryFailed when the server crash
When the server crashes, it does not write back on the socket. The message
which is then read from the socket is '', which raises a TypeError.
Catching TypeError to raise QueryFailed instead.
2009-06-13 17:39:01 +02:00
Nicolas Dumazet
8a843dec9d inotify: server: move split() out of server
split() has nothing to do with the server logic, it does not need to be
in the class. Move it on top, next to join() which does the opposite.
2009-05-27 00:29:11 +09:00
Benoit Boissinot
594851baf2 inotify: remove unused variables 2009-06-13 17:23:08 +02:00
Benoit Boissinot
62eea686e0 atomictempfile: fix exception in __del__ if mktempcopy fails (self._fp is None)
Make what is going on more obvious by explicitely getting the 'closed'
attribute from _fp, instead of from the gettatr proxy.
2009-06-13 13:14:02 +02:00
Brendan Cully
a03c60a23d Merge with crew-stable 2009-06-11 12:23:08 -07:00
Brendan Cully
50a940c93e bzr convert: restore paths to source encoding. Closes issue1692. 2009-06-11 12:18:40 -07:00
Martin Geisler
eed2dde24c doc: wrap man pages after fixing quoting 2009-06-11 17:29:14 +02:00
Martin Geisler
20440a9594 hgrc.5: fix quoting of literal strings
The quotes would go wrong in many places due to differences between
asciidoc version 8.2.7 used by Benoit and 8.4.5 used by me. Between
those versions asciidoc stopped interpreting the content of `quoted
strings`, and so `*` would start bold text in the old version, but do
nothing in the new version.

To complicate things further, `\*` would escape the bold tag in the
old version, but in the new version the backslash was inserted
literally into the output (because the backtick quotes it).

I've now replaced backticks with non-quoting plusses and escaped
backslashes as appropriate.
2009-06-11 17:19:48 +02:00
Martin Geisler
df6db3c4ae hgignore.5: remove extra quotes
The so-called "unconstrained quotes" didn't really work, so I reverted
them to normal quotes. Tested with asciidoc version 8.2.7 and 8.4.5.
2009-06-11 17:16:04 +02:00
timeless
52c84115f8 Improve English for help text of many core hg commands.
co-author: Greg Ward <greg-hg@gerg.ca>
2009-06-09 21:51:34 -04:00
Benoit Boissinot
125a85ec87 use new style classes 2009-06-10 15:10:21 +02:00
Benoit Boissinot
101bc29df4 doc: correctly escape * 2009-06-10 03:20:20 +02:00
Benoit Boissinot
89aac29846 doc: correctly escape * 2009-06-10 03:10:46 +02:00
Martin Geisler
215f869db8 hg.1: highlight references to commands and man pages 2009-06-10 01:14:16 +02:00
Martin Geisler
f906d04b19 hg.1: simplify synopsis
Now that arguments can be mixed with options we can simplify the
synopsis considerably. Also, highlighting the command name in bold
(instead of italics) seem to be the standard convention.
2009-06-10 01:09:21 +02:00
Martin Geisler
6d7eccbdcc hgrc.5: spell check 2009-06-10 00:55:57 +02:00
Martin Geisler
bc5c193ce2 man pages: add meta data
This removes the fixme's that were otherwise inserted.
2009-06-10 00:46:30 +02:00