Tue, 27 Sep 2005 15:01:49 -0700 Replacing select.select() with os.fstat() which works also on windows.
zbynek@alex.kolej.mff.cuni.cz [Tue, 27 Sep 2005 15:01:49 -0700] rev 1357
Replacing select.select() with os.fstat() which works also on windows.
Tue, 27 Sep 2005 14:59:30 -0700 Fix +x permissions lost by export/import
Matt Mackall <mpm@selenic.com> [Tue, 27 Sep 2005 14:59:30 -0700] rev 1356
Fix +x permissions lost by export/import
Tue, 27 Sep 2005 14:59:02 -0700 Test case for the misleading message on bad permissions.
Eric Hopper <hopper@omnifarious.org> [Tue, 27 Sep 2005 14:59:02 -0700] rev 1355
Test case for the misleading message on bad permissions.
Tue, 27 Sep 2005 14:58:48 -0700 Made the abort message for IOError nicer when the filename is known.
Eric Hopper <hopper@omnifarious.org> [Tue, 27 Sep 2005 14:58:48 -0700] rev 1354
Made the abort message for IOError nicer when the filename is known.
Tue, 27 Sep 2005 14:58:28 -0700 Fix misleading abort message when permissions are bad.
Eric Hopper <hopper@omnifarious.org> [Tue, 27 Sep 2005 14:58:28 -0700] rev 1353
Fix misleading abort message when permissions are bad.
Tue, 27 Sep 2005 14:53:11 -0700 Make test-merge7 repeatable
Matt Mackall <mpm@selenic.com> [Tue, 27 Sep 2005 14:53:11 -0700] rev 1352
Make test-merge7 repeatable
Mon, 26 Sep 2005 16:52:47 -0700 Repair ancestor logic, fix up test cases
Matt Mackall <mpm@selenic.com> [Mon, 26 Sep 2005 16:52:47 -0700] rev 1351
Repair ancestor logic, fix up test cases
Mon, 26 Sep 2005 14:01:18 -0700 Fix pipe error regression
Matt Mackall <mpm@selenic.com> [Mon, 26 Sep 2005 14:01:18 -0700] rev 1350
Fix pipe error regression
Mon, 26 Sep 2005 14:01:05 -0700 More info on file merge for update --debug
Matt Mackall <mpm@selenic.com> [Mon, 26 Sep 2005 14:01:05 -0700] rev 1349
More info on file merge for update --debug
Sat, 24 Sep 2005 11:33:20 -0700 hgwebdir: Fix date display
mpm@selenic.com [Sat, 24 Sep 2005 11:33:20 -0700] rev 1348
hgwebdir: Fix date display
Fri, 23 Sep 2005 19:46:43 -0700 Fix up static-http test
mpm@selenic.com [Fri, 23 Sep 2005 19:46:43 -0700] rev 1347
Fix up static-http test
Fri, 23 Sep 2005 19:46:12 -0700 Execute hooks in the repository root
mpm@selenic.com [Fri, 23 Sep 2005 19:46:12 -0700] rev 1346
Execute hooks in the repository root
Fri, 23 Sep 2005 19:41:45 -0700 hgk: Allow specifying hgk path in [hgk]path
mpm@selenic.com [Fri, 23 Sep 2005 19:41:45 -0700] rev 1345
hgk: Allow specifying hgk path in [hgk]path
Fri, 23 Sep 2005 19:38:21 -0700 Fix hgk for date handling changes
mpm@selenic.com [Fri, 23 Sep 2005 19:38:21 -0700] rev 1344
Fix hgk for date handling changes
Fri, 23 Sep 2005 19:35:23 -0700 Add support for /etc/mercurial/hgrc.d/*.rc
mpm@selenic.com [Fri, 23 Sep 2005 19:35:23 -0700] rev 1343
Add support for /etc/mercurial/hgrc.d/*.rc
Fri, 23 Sep 2005 19:04:19 -0700 Warn on failure to import an extension
mpm@selenic.com [Fri, 23 Sep 2005 19:04:19 -0700] rev 1342
Warn on failure to import an extension
Fri, 23 Sep 2005 18:59:16 -0700 Fix copyright symbol in docs
Vincent Danjean [Fri, 23 Sep 2005 18:59:16 -0700] rev 1341
Fix copyright symbol in docs --- hg.orig/doc/hg.1.txt 2005-09-22 09:40:47.000000000 -0700 +++ hg/doc/hg.1.txt 2005-09-23 18:31:58.000000000 -0700 @@ -802,6 +802,6 @@ http://selenic.com/mailman/listinfo/merc COPYING ------- -Copyright (C) 2005 Matt Mackall. +Copyright \(C) 2005 Matt Mackall. Free use of this software is granted under the terms of the GNU General Public License (GPL). Index: hg/doc/hgmerge.1.txt =================================================================== --- hg.orig/doc/hgmerge.1.txt 2005-06-30 10:19:51.000000000 -0700 +++ hg/doc/hgmerge.1.txt 2005-09-23 18:31:59.000000000 -0700 @@ -30,6 +30,6 @@ hg(1) - the command line interface to Me COPYING ------- -Copyright (C) 2005 Matt Mackall. +Copyright \(C) 2005 Matt Mackall. Free use of this software is granted under the terms of the GNU General Public License (GPL).
Fri, 23 Sep 2005 18:58:57 -0700 hgk is a wish script
Vincent Danjean [Fri, 23 Sep 2005 18:58:57 -0700] rev 1340
hgk is a wish script --- mercurial-0.7.orig/contrib/hgk 2005-09-23 11:02:21.000000000 +0200 +++ mercurial-0.7/contrib/hgk 2005-09-23 11:07:57.000000000 +0200 @@ -1,6 +1,4 @@ -#!/bin/sh -# Tcl ignores the next line -*- tcl -*- \ -exec wish "$0" -- "${1+$@}" +#!/usr/bin/wish # Copyright (C) 2005 Paul Mackerras. All rights reserved. # This program is free software; it may be used, copied, modified
Fri, 23 Sep 2005 18:58:48 -0700 bash_completion is not an executable
Vincent Danjean [Fri, 23 Sep 2005 18:58:48 -0700] rev 1339
bash_completion is not an executable Index: hg/contrib/bash_completion =================================================================== --- hg.orig/contrib/bash_completion 2005-09-22 09:40:47.000000000 -0700 +++ hg/contrib/bash_completion 2005-09-23 18:32:46.000000000 -0700 @@ -1,5 +1,3 @@ -#!/bin/bash - shopt -s extglob _hg_commands()
Fri, 23 Sep 2005 17:52:15 -0700 Add empty repo test
mpm@selenic.com [Fri, 23 Sep 2005 17:52:15 -0700] rev 1338
Add empty repo test
Fri, 23 Sep 2005 17:50:03 -0700 Fix up some bugs for log and grep with empty repo
mpm@selenic.com [Fri, 23 Sep 2005 17:50:03 -0700] rev 1337
Fix up some bugs for log and grep with empty repo
Fri, 23 Sep 2005 17:19:35 -0700 hgweb file: fixed left-justified line numbers on IE v6.0
TK Soh <teekaysoh@yahoo.com> [Fri, 23 Sep 2005 17:19:35 -0700] rev 1336
hgweb file: fixed left-justified line numbers on IE v6.0 IE (v6.0) seemed to squash the spaces surrounding the line numbers, making them appeared as left- instead of being right-justified. Testing with IE v6.0 and Firefox 1.0.6.
Fri, 23 Sep 2005 17:15:36 -0700 git -> hg conversion script
Florian La Roche <laroche@redhat.com> [Fri, 23 Sep 2005 17:15:36 -0700] rev 1335
git -> hg conversion script contrib/convert-repo changes: - do not print verbose output so that error messages are seen more easily - Output the date as integer and not as floating point number. - Do not require a ".git" subdirectory to work on, but use the GIT_DIR environment var to specify the git repository. Change is otherwise compatible to the current version and I have tested it by converting the kernel and several git respositories from kernel.org. (Btw, the udev test dir contains a /sys dir with entries which should not be normal dirs and not be normal files. ;-) Thanks again for mercurial, Florian La Roche --- a/contrib/convert-repo +++ b/contrib/convert-repo @@ -28,26 +28,18 @@ self.path = path def getheads(self): - h = file(self.path + "/.git/HEAD").read()[:-1] - return [h] + return [file(self.path + "/HEAD").read()[:-1]] def catfile(self, rev, type): if rev == "0" * 40: raise IOError() - path = os.getcwd() - os.chdir(self.path) - fh = os.popen("git-cat-file %s %s 2>/dev/null" % (type, rev)) - os.chdir(path) + fh = os.popen("GIT_DIR=%s git-cat-file %s %s 2>/dev/null" % (self.path, type, rev)) return fh.read() def getfile(self, name, rev): return self.catfile(rev, "blob") def getchanges(self, version): - path = os.getcwd() - os.chdir(self.path) - fh = os.popen("git-diff-tree --root -m -r %s" % (version)) - os.chdir(path) - + fh = os.popen("GIT_DIR=%s git-diff-tree --root -m -r %s" % (self.path, version)) changes = [] for l in fh: if "\t" not in l: continue @@ -83,9 +75,9 @@ def gettags(self): tags = {} - for f in os.listdir(self.path + "/.git/refs/tags"): + for f in os.listdir(self.path + "/refs/tags"): try: - h = file(self.path + "/.git/refs/tags/" + f).read().strip() + h = file(self.path + "/refs/tags/" + f).read().strip() tags[f] = h except: pass @@ -99,8 +91,7 @@ def getheads(self): h = self.repo.changelog.heads() - h = [ hg.hex(x) for x in h ] - return h + return [ hg.hex(x) for x in h ] def putfile(self, f, e, data): self.repo.wfile(f, "w").write(data) @@ -155,12 +146,12 @@ newlines.sort() if newlines != oldlines: - print "updating tags" + #print "updating tags" f = self.repo.wfile(".hgtags", "w") f.write("".join(newlines)) f.close() if not oldlines: self.repo.add([".hgtags"]) - date = "%s 0" % time.mktime(time.gmtime()) + date = "%s 0" % int(time.mktime(time.gmtime())) self.repo.rawcommit([".hgtags"], "update tags", "convert-repo", date, self.repo.changelog.tip(), hg.nullid) @@ -262,7 +253,7 @@ num -= 1 if c in self.map: continue desc = self.commitcache[c][3].splitlines()[0] - print num, desc + #print num, desc self.copy(c) tags = self.source.gettags() @@ -275,6 +266,8 @@ self.dest.puttags(ctags) gitpath, hgpath, mapfile = sys.argv[1:] +if os.path.isdir(gitpath + "/.git"): + gitpath += "/.git" c = convert(convert_git(gitpath), convert_mercurial(hgpath), mapfile) c.convert() _______________________________________________ Mercurial mailing list Mercurial@selenic.com http://selenic.com/mailman/listinfo/mercurial
Fri, 23 Sep 2005 17:15:10 -0700 hgweb: fixed IE display problem on changelog page
TK Soh <teekaysoh@yahoo.com> [Fri, 23 Sep 2005 17:15:10 -0700] rev 1334
hgweb: fixed IE display problem on changelog page IE (v6.0) didn't seemed to comply to the 15% width on the left column of changelog display. Tested with IE v6.0 and Firefox 1.0.6.
Fri, 23 Sep 2005 17:08:45 -0700 hgweb: fix date bug in hgweb diff generation
mpm@selenic.com [Fri, 23 Sep 2005 17:08:45 -0700] rev 1333
hgweb: fix date bug in hgweb diff generation
Fri, 23 Sep 2005 10:32:19 -0700 Help debugability: print ssh command being used when --verbose.
Bryan O'Sullivan <bos@serpentine.com> [Fri, 23 Sep 2005 10:32:19 -0700] rev 1332
Help debugability: print ssh command being used when --verbose.
Fri, 23 Sep 2005 10:31:00 -0700 Write hgrc file in text mode, even on Windows.
Bryan O'Sullivan <bos@serpentine.com> [Fri, 23 Sep 2005 10:31:00 -0700] rev 1331
Write hgrc file in text mode, even on Windows.
Fri, 23 Sep 2005 10:30:41 -0700 Give ssh a better chance of working on Windows.
Bryan O'Sullivan <bos@serpentine.com> [Fri, 23 Sep 2005 10:30:41 -0700] rev 1330
Give ssh a better chance of working on Windows. Switch the type of quotes used for the remote command. Open the pipe in binary mode.
Fri, 23 Sep 2005 10:28:55 -0700 Allow files to be opened in text mode, even on Windows.
Bryan O'Sullivan <bos@serpentine.com> [Fri, 23 Sep 2005 10:28:55 -0700] rev 1329
Allow files to be opened in text mode, even on Windows.
Fri, 23 Sep 2005 07:41:25 -0700 Merge with myself.
Bryan O'Sullivan <bos@serpentine.com> [Fri, 23 Sep 2005 07:41:25 -0700] rev 1328
Merge with myself.
Fri, 23 Sep 2005 07:36:30 -0700 Some repos represent a date as a float.
Bryan O'Sullivan <bos@serpentine.com> [Fri, 23 Sep 2005 07:36:30 -0700] rev 1327
Some repos represent a date as a float.
Fri, 23 Sep 2005 00:06:49 -0700 Merge with MPM.
Bryan O'Sullivan <bos@serpentine.com> [Fri, 23 Sep 2005 00:06:49 -0700] rev 1326
Merge with MPM.
Fri, 23 Sep 2005 00:05:16 -0700 Move urllib error handling from revlog into statichttprepo, where it belongs.
Bryan O'Sullivan <bos@serpentine.com> [Fri, 23 Sep 2005 00:05:16 -0700] rev 1325
Move urllib error handling from revlog into statichttprepo, where it belongs.
Thu, 22 Sep 2005 23:38:04 -0700 hgweb: pass date tuples around rather than whole changesets for dates
mpm@selenic.com [Thu, 22 Sep 2005 23:38:04 -0700] rev 1324
hgweb: pass date tuples around rather than whole changesets for dates
Thu, 22 Sep 2005 23:33:26 -0700 Fix old-http test when no server exists.
Bryan O'Sullivan <bos@serpentine.com> [Thu, 22 Sep 2005 23:33:26 -0700] rev 1323
Fix old-http test when no server exists.
Thu, 22 Sep 2005 23:31:44 -0700 Make revlog constructor more discerning in its treatment of errors.
Bryan O'Sullivan <bos@serpentine.com> [Thu, 22 Sep 2005 23:31:44 -0700] rev 1322
Make revlog constructor more discerning in its treatment of errors.
Thu, 22 Sep 2005 23:19:47 -0700 Clean up date and timezone handling.
Bryan O'Sullivan <bos@serpentine.com> [Thu, 22 Sep 2005 23:19:47 -0700] rev 1321
Clean up date and timezone handling. We used to pass changelog dates around as a "unixtime timezone" string containing a pair of encoded ints. Now, they get passed around as a (unixtime, timezone) tuple of numbers, which makes much more sense.
Thu, 22 Sep 2005 22:46:50 -0700 Fix up representation of dates in hgweb.
Bryan O'Sullivan <bos@serpentine.com> [Thu, 22 Sep 2005 22:46:50 -0700] rev 1320
Fix up representation of dates in hgweb. Date display is now uniform both on the command line and via the web interface.
Thu, 22 Sep 2005 21:42:33 -0700 Fix behaviour of commit.
Bryan O'Sullivan <bos@serpentine.com> [Thu, 22 Sep 2005 21:42:33 -0700] rev 1319
Fix behaviour of commit. It's now a fatal error if the option to --logfile isn't readable. Ditto if both --message and --logfile are specified.
Thu, 22 Sep 2005 21:29:02 -0700 Unify display of dates.
Bryan O'Sullivan <bos@serpentine.com> [Thu, 22 Sep 2005 21:29:02 -0700] rev 1318
Unify display of dates. We now use one function, commands.datestr, to display dates, instead of calling time.asctime in inconsistent ways.
Thu, 22 Sep 2005 21:15:57 -0700 Print commit time/date from perspective of committer.
Bryan O'Sullivan <bos@serpentine.com> [Thu, 22 Sep 2005 21:15:57 -0700] rev 1317
Print commit time/date from perspective of committer. Previously, it was printed in the time zone of the reader, but with the committer's time zone offset. It is now consistent.
Thu, 22 Sep 2005 10:12:42 -0700 Hook fixups
mpm@selenic.com [Thu, 22 Sep 2005 10:12:42 -0700] rev 1316
Hook fixups Pass the first new changeset node to the changegroup hook Call commit for each changeset in a pull changegroup Improve hook docs
Thu, 22 Sep 2005 09:47:27 -0700 Fix setting of hg default when using --pull on clone of local repository.
Lee Cantey <lcantey@gmail.com> [Thu, 22 Sep 2005 09:47:27 -0700] rev 1315
Fix setting of hg default when using --pull on clone of local repository.
Thu, 22 Sep 2005 09:47:03 -0700 Fix default clone destination
mpm@selenic.com [Thu, 22 Sep 2005 09:47:03 -0700] rev 1314
Fix default clone destination The default clone wasn't working: $ hg clone hg abort: repository hg/.hg not found! This was because we were creating the destination directory from the default, then checking whether it existed to determine whether to expand the path.
Thu, 22 Sep 2005 09:42:15 -0700 Fix traceback during invalid rev identifier for debugdata
Anupam Kapoor<anupam.kapoor@gmail.com> [Thu, 22 Sep 2005 09:42:15 -0700] rev 1313
Fix traceback during invalid rev identifier for debugdata
Thu, 22 Sep 2005 09:41:34 -0700 Merge with TAH
mpm@selenic.com [Thu, 22 Sep 2005 09:41:34 -0700] rev 1312
Merge with TAH
Wed, 21 Sep 2005 09:02:41 +0200 bash_completion: extended patterns require extglob option
TK Soh <teekaysoh@yahoo.com> [Wed, 21 Sep 2005 09:02:41 +0200] rev 1311
bash_completion: extended patterns require extglob option
Wed, 21 Sep 2005 08:25:46 +0200 Updated CONTRIBUTORS.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 21 Sep 2005 08:25:46 +0200] rev 1310
Updated CONTRIBUTORS.
Wed, 21 Sep 2005 08:07:38 +0200 Make debugwalk strip trailing spaces and remove these from test-walk.out
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 21 Sep 2005 08:07:38 +0200] rev 1309
Make debugwalk strip trailing spaces and remove these from test-walk.out
Wed, 21 Sep 2005 07:56:19 +0200 Cleanup of tabs and trailing spaces.
Thomas Arendsen Hein <thomas@intevation.de> [Wed, 21 Sep 2005 07:56:19 +0200] rev 1308
Cleanup of tabs and trailing spaces.
Thu, 22 Sep 2005 09:39:05 -0700 Merge with BOS
mpm@selenic.com [Thu, 22 Sep 2005 09:39:05 -0700] rev 1307
Merge with BOS
Wed, 21 Sep 2005 15:50:43 -0700 Add release notes to built Windows package.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 21 Sep 2005 15:50:43 -0700] rev 1306
Add release notes to built Windows package.
Wed, 21 Sep 2005 15:44:50 -0700 Update Windows release notes.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 21 Sep 2005 15:44:50 -0700] rev 1305
Update Windows release notes.
Wed, 21 Sep 2005 15:44:35 -0700 Update hgrc documentation to refer to Windows paths.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 21 Sep 2005 15:44:35 -0700] rev 1304
Update hgrc documentation to refer to Windows paths.
Wed, 21 Sep 2005 15:27:00 -0700 Fix path of win32text extension in INI file.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 21 Sep 2005 15:27:00 -0700] rev 1303
Fix path of win32text extension in INI file.
Wed, 21 Sep 2005 15:26:50 -0700 Update Inno Setup installer to install INI file.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 21 Sep 2005 15:26:50 -0700] rev 1302
Update Inno Setup installer to install INI file.
Wed, 21 Sep 2005 15:18:24 -0700 Fix small thinko.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 21 Sep 2005 15:18:24 -0700] rev 1301
Fix small thinko.
Wed, 21 Sep 2005 15:17:24 -0700 Rename mercurial.ext to hgext.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 21 Sep 2005 15:17:24 -0700] rev 1300
Rename mercurial.ext to hgext.
Wed, 21 Sep 2005 14:46:01 -0700 Package the extension directory.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 21 Sep 2005 14:46:01 -0700] rev 1299
Package the extension directory.
Wed, 21 Sep 2005 14:40:52 -0700 Add INI file for Windows.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 21 Sep 2005 14:40:52 -0700] rev 1298
Add INI file for Windows.
Wed, 21 Sep 2005 14:23:25 -0700 Add win32text extension module.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 21 Sep 2005 14:23:25 -0700] rev 1297
Add win32text extension module.
Wed, 21 Sep 2005 14:23:07 -0700 Add placeholder extension module.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 21 Sep 2005 14:23:07 -0700] rev 1296
Add placeholder extension module.
Wed, 21 Sep 2005 14:22:16 -0700 Make contract with extensions optional.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 21 Sep 2005 14:22:16 -0700] rev 1295
Make contract with extensions optional.
Wed, 21 Sep 2005 13:33:24 -0700 Clean up whitespace damage.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 21 Sep 2005 13:33:24 -0700] rev 1294
Clean up whitespace damage.
Wed, 21 Sep 2005 11:44:08 -0700 Enhance the file filtering capabilities.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 21 Sep 2005 11:44:08 -0700] rev 1293
Enhance the file filtering capabilities. We now allow filtering through either pipes or pairs of temporary files. The latter appear to be mandatory for use on Windows.
Wed, 21 Sep 2005 09:56:30 -0700 Use platform-appropriate rc file names.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 21 Sep 2005 09:56:30 -0700] rev 1292
Use platform-appropriate rc file names.
Wed, 21 Sep 2005 00:47:57 -0700 Document Windows installer build process.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 21 Sep 2005 00:47:57 -0700] rev 1291
Document Windows installer build process.
Wed, 21 Sep 2005 00:47:40 -0700 Add Windows installer file.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 21 Sep 2005 00:47:40 -0700] rev 1290
Add Windows installer file. This uses Inno Setup. If you don't use ISTool to edit the file, you are either brave, nuts, or both.
Wed, 21 Sep 2005 00:27:52 -0700 Add post-install text file.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 21 Sep 2005 00:27:52 -0700] rev 1289
Add post-install text file.
Wed, 21 Sep 2005 00:20:20 -0700 Turn the win32 README into a HTML file for now.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 21 Sep 2005 00:20:20 -0700] rev 1288
Turn the win32 README into a HTML file for now.
Wed, 21 Sep 2005 00:02:53 -0700 Add win32 README for standalone installer.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 21 Sep 2005 00:02:53 -0700] rev 1287
Add win32 README for standalone installer.
Thu, 22 Sep 2005 09:22:25 -0700 Make incoming/outgoing show oldest first
mpm@selenic.com [Thu, 22 Sep 2005 09:22:25 -0700] rev 1286
Make incoming/outgoing show oldest first
Tue, 20 Sep 2005 21:35:51 -0700 Make 'hg import' platform independent.
Volker Kleinfeld <Volker.Kleinfeld@gmx.de> [Tue, 20 Sep 2005 21:35:51 -0700] rev 1285
Make 'hg import' platform independent. - moved popen("patch ...") from commands.py to util.py - files may not be single quoted in popen under windows: fixed - patch returns the files quoted under windows. quotes need to be stripped off: fixed
Tue, 20 Sep 2005 21:29:07 -0700 Fix Volker's modifications to setup.py for non-Windows systems.
Bryan O'Sullivan <bos@serpentine.com> [Tue, 20 Sep 2005 21:29:07 -0700] rev 1284
Fix Volker's modifications to setup.py for non-Windows systems.
Tue, 20 Sep 2005 19:25:14 -0700 Support for the distutils extention 'py2exe' added.
Volker.Kleinfeld@gmx.de [Tue, 20 Sep 2005 19:25:14 -0700] rev 1283
Support for the distutils extention 'py2exe' added. Description: - If the py2exe distutils extention is installed this patch allows building standalone exe for windows - example: > python setup.py build --compiler=mingw32 py2exe - The 'out of the box' py2exe is not able to resolve the dependencies due to 'demandload'. A new helper module of scanning the mercurial package has been added. Changed: - setup.py: importing py2exe and sub classing its command class to fetch the build directory and insert the needed includes - packagescan.py: new helper module added, that scans the distutil build directory for modules to be included.
Tue, 20 Sep 2005 11:38:01 -0700 Merge with BOS
mpm@selenic.com [Tue, 20 Sep 2005 11:38:01 -0700] rev 1282
Merge with BOS
Tue, 20 Sep 2005 11:20:48 -0700 Add --pull option to clone.
Bryan O'Sullivan <bos@serpentine.com> [Tue, 20 Sep 2005 11:20:48 -0700] rev 1281
Add --pull option to clone.
Tue, 20 Sep 2005 10:45:26 -0700 pull/unbundle: raise an exception on premature EOF
mpm@selenic.com [Tue, 20 Sep 2005 10:45:26 -0700] rev 1280
pull/unbundle: raise an exception on premature EOF
Mon, 19 Sep 2005 18:24:37 -0700 Add checks for programs which are required for the test suite to run.
eric@localhost.localdomain [Mon, 19 Sep 2005 18:24:37 -0700] rev 1279
Add checks for programs which are required for the test suite to run. All prerequisite programs are checked for existance, and if any are missing, a list of missing programs is printed, and the test suite is aborted. All programs currently used in the tests, except those in core-utils, are checked.
Mon, 19 Sep 2005 15:59:17 -0700 hgit -> hgk.py
mpm@selenic.com [Mon, 19 Sep 2005 15:59:17 -0700] rev 1278
hgit -> hgk.py Move hgit to hgk.py - importing hgit as an extension created compiled hgitc, which was confusing - hgit existed to support hgk so it was slightly misnamed - removed executable bit as we no longer run it directly - add 'view' command so we can run hg view - change git-* commands to debug-* so hg help won't show them - chdir to repository root on view so hgk doesn't choke in subdirs
Mon, 19 Sep 2005 22:15:36 +0200 Add a favicon.ico, small version of the main HG image.
Ollivier Robert <roberto@keltia.freenix.fr> [Mon, 19 Sep 2005 22:15:36 +0200] rev 1277
Add a favicon.ico, small version of the main HG image.
Sun, 18 Sep 2005 15:03:07 -0700 Fix dirstate.changes for ignored directories.
Bryan O'Sullivan <bos@serpentine.com> [Sun, 18 Sep 2005 15:03:07 -0700] rev 1276
Fix dirstate.changes for ignored directories. Do a second walking pass to examine any leftover files in the dirstate map that are in the .hgignore file but match our search criteria. This fixes the case of entire directories never being examined due to their presence in the .hgignore file, and should hopefully not add any significant overhead.
Sun, 18 Sep 2005 14:07:02 -0700 Fix cut and paste error in hgweb.py
Florian La Roche <laroche@redhat.com> [Sun, 18 Sep 2005 14:07:02 -0700] rev 1275
Fix cut and paste error in hgweb.py
Sun, 18 Sep 2005 14:06:36 -0700 Fix man page typos
Florian La Roche <laroche@redhat.com> [Sun, 18 Sep 2005 14:06:36 -0700] rev 1274
Fix man page typos
Sun, 18 Sep 2005 14:05:54 -0700 Clean up RPM spec file
Florian La Roche <laroche@redhat.com> [Sun, 18 Sep 2005 14:05:54 -0700] rev 1273
Clean up RPM spec file
Sun, 18 Sep 2005 14:05:04 -0700 Update version number in PKG-INFO
Florian La Roche <laroche@redhat.com> [Sun, 18 Sep 2005 14:05:04 -0700] rev 1272
Update version number in PKG-INFO
Sat, 17 Sep 2005 00:37:14 -0700 Fix ignore regression.
Bryan O'Sullivan <bos@serpentine.com> [Sat, 17 Sep 2005 00:37:14 -0700] rev 1271
Fix ignore regression. An empty or non-existent hgignore file must return False (don't ignore) for everything.
Sat, 17 Sep 2005 00:27:27 -0700 Switch to new syntax for .hgignore files.
Bryan O'Sullivan <bos@serpentine.com> [Sat, 17 Sep 2005 00:27:27 -0700] rev 1270
Switch to new syntax for .hgignore files. Here is the new syntax, in summary. Trailing white space is dropped. The escape character is "\". Comments start with #. Empty lines are skipped. Lines can be of the following formats: syntax: regexp # defaults following lines to non-rooted regexps syntax: glob # defaults following lines to non-rooted globs re:pattern # non-rooted regular expression glob:pattern # non-rooted glob pattern # pattern of the current default type The default pattern type is regexp, which is completely backwards compatible with the old hgignore syntax. In the dirstate class, the ignore method has been reworked to be based on the util.matcher function, by way of a new dirstate.hgignore method.
Sat, 17 Sep 2005 00:23:58 -0700 Merge with myself.
Bryan O'Sullivan <bos@serpentine.com> [Sat, 17 Sep 2005 00:23:58 -0700] rev 1269
Merge with myself.
Sat, 17 Sep 2005 00:23:19 -0700 Fix performance of dirstate.changes with ignored directories.
Bryan O'Sullivan <bos@serpentine.com> [Sat, 17 Sep 2005 00:23:19 -0700] rev 1268
Fix performance of dirstate.changes with ignored directories.
Fri, 16 Sep 2005 14:50:06 -0700 Fix diff command so it doesn't walk the dirstate unnecessarily.
Bryan O'Sullivan <bos@serpentine.com> [Fri, 16 Sep 2005 14:50:06 -0700] rev 1267
Fix diff command so it doesn't walk the dirstate unnecessarily.
Fri, 16 Sep 2005 14:01:03 -0700 Added tag 0.7 for changeset 979c049974485125e1f9357f6bbe9c1b548a64c3
mpm@selenic.com [Fri, 16 Sep 2005 14:01:03 -0700] rev 1266
Added tag 0.7 for changeset 979c049974485125e1f9357f6bbe9c1b548a64c3
Fri, 16 Sep 2005 13:34:29 -0700 Update doc for ssh URL, describing path handling more clearly. 0.7
Bryan O'Sullivan <bos@serpentine.com> [Fri, 16 Sep 2005 13:34:29 -0700] rev 1265
Update doc for ssh URL, describing path handling more clearly.
Fri, 16 Sep 2005 21:34:18 +0200 Generated new tcsh_completion with tcsh_completion_build.sh
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 16 Sep 2005 21:34:18 +0200] rev 1264
Generated new tcsh_completion with tcsh_completion_build.sh
Fri, 16 Sep 2005 21:31:31 +0200 Added new debug commands to bash_completion.
Thomas Arendsen Hein <thomas@intevation.de> [Fri, 16 Sep 2005 21:31:31 +0200] rev 1263
Added new debug commands to bash_completion.
Fri, 16 Sep 2005 10:42:20 -0700 Add debugancestor command
mpm@selenic.com [Fri, 16 Sep 2005 10:42:20 -0700] rev 1262
Add debugancestor command
Thu, 15 Sep 2005 14:06:58 -0500 test-hup: hgrc no longer created at init
mpm@selenic.com [Thu, 15 Sep 2005 14:06:58 -0500] rev 1261
test-hup: hgrc no longer created at init
Thu, 15 Sep 2005 14:05:48 -0500 hgweb: use ui:username rather than web:contact
mpm@selenic.com [Thu, 15 Sep 2005 14:05:48 -0500] rev 1260
hgweb: use ui:username rather than web:contact This also removes the creation of .hg/hgrc with web:contact at init time.
Thu, 15 Sep 2005 03:00:10 -0500 Merge with BOS
mpm@selenic.com [Thu, 15 Sep 2005 03:00:10 -0500] rev 1259
Merge with BOS
Thu, 15 Sep 2005 02:59:16 -0500 Add file encoding/decoding support
mpm@selenic.com [Thu, 15 Sep 2005 02:59:16 -0500] rev 1258
Add file encoding/decoding support
Thu, 15 Sep 2005 00:04:29 -0700 Clamp negative rev numbers at zero.
Bryan O'Sullivan <bos@serpentine.com> [Thu, 15 Sep 2005 00:04:29 -0700] rev 1257
Clamp negative rev numbers at zero. Prior to this change, trying to run "hg log -r -50:" in a repo with less than 50 changes caused an error. Now that we clamp at zero: no more error.
Thu, 15 Sep 2005 00:49:40 -0500 mark copy/rename as experimental in the docs
mpm@selenic.com [Thu, 15 Sep 2005 00:49:40 -0500] rev 1256
mark copy/rename as experimental in the docs
Wed, 14 Sep 2005 22:32:12 -0700 Get all commands that operate on files to honour --verbose and --quiet.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 14 Sep 2005 22:32:12 -0700] rev 1255
Get all commands that operate on files to honour --verbose and --quiet. Fix minor bug in remove command; the when-to-unlink logic was wonky.
Wed, 14 Sep 2005 21:57:41 -0700 Switch cat command to use walk code.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 14 Sep 2005 21:57:41 -0700] rev 1254
Switch cat command to use walk code. The old syntax of "hg cat FILE REV" is now obsolete. Use "hg cat -r REV FILE" instead, as for all other commands.
Wed, 14 Sep 2005 16:34:22 -0700 Add rename/mv command.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 14 Sep 2005 16:34:22 -0700] rev 1253
Add rename/mv command. This is the logical equivalent of copy and remove, and is in fact implemented as such. It doesn't use the remove command directly.
Wed, 14 Sep 2005 16:31:03 -0700 The copy tests don't need to invoke cp any longer.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 14 Sep 2005 16:31:03 -0700] rev 1252
The copy tests don't need to invoke cp any longer.
Wed, 14 Sep 2005 15:41:22 -0700 Fix lots of exception-related problems.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 14 Sep 2005 15:41:22 -0700] rev 1251
Fix lots of exception-related problems. These have been around since the Big Code Split.
Wed, 14 Sep 2005 14:39:46 -0700 Merge with MPM.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 14 Sep 2005 14:39:46 -0700] rev 1250
Merge with MPM.
Wed, 14 Sep 2005 14:29:02 -0700 Fix up copy command to behave more like regular "cp".
Bryan O'Sullivan <bos@serpentine.com> [Wed, 14 Sep 2005 14:29:02 -0700] rev 1249
Fix up copy command to behave more like regular "cp". In addition to recording changes, copy now updates the working directory.
Wed, 14 Sep 2005 11:27:36 -0700 Merge with myself.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 14 Sep 2005 11:27:36 -0700] rev 1248
Merge with myself.
Wed, 14 Sep 2005 10:50:03 -0700 Make remove command really unlink files.
Bryan O'Sullivan <bos@serpentine.com> [Wed, 14 Sep 2005 10:50:03 -0700] rev 1247
Make remove command really unlink files.
Fri, 09 Sep 2005 22:07:10 -0700 mercurial.el: implement hg-pull, and stub in hg-update.
Bryan O'Sullivan <bos@serpentine.com> [Fri, 09 Sep 2005 22:07:10 -0700] rev 1246
mercurial.el: implement hg-pull, and stub in hg-update.
Wed, 14 Sep 2005 15:50:31 -0500 Files not getting added appropiately
Chris Mason <mason@suse.com> [Wed, 14 Sep 2005 15:50:31 -0500] rev 1245
Files not getting added appropiately On Wed, 14 Sep 2005 15:15:13 -0400 Daniel Santa Cruz <byteshack@gmail.com> wrote: > c:> hg debugstate > a 666 0 09/14/05 15:11:44 a/aa\aa.a > a 666 0 09/14/05 15:11:47 a/aa\aa.b <---- notice mixed > slashes > > This all seems very confusing.... Please try this:
Wed, 14 Sep 2005 15:48:34 -0500 clone: fall back to pull if we can't lock the source repo
mpm@selenic.com [Wed, 14 Sep 2005 15:48:34 -0500] rev 1244
clone: fall back to pull if we can't lock the source repo
Wed, 14 Sep 2005 13:14:20 -0500 Fix hgit revtree bug with stop revision handling
root@coffee.suse.com [Wed, 14 Sep 2005 13:14:20 -0500] rev 1243
Fix hgit revtree bug with stop revision handling
Wed, 14 Sep 2005 12:35:10 -0500 Fix hg cat when the file cannot be found in the specified revision
Mikael Berthe <mikael@lilotux.net> [Wed, 14 Sep 2005 12:35:10 -0500] rev 1242
Fix hg cat when the file cannot be found in the specified revision
Wed, 14 Sep 2005 12:22:20 -0500 Add support for cloning with hardlinks on windows.
Stephen Darnell [Wed, 14 Sep 2005 12:22:20 -0500] rev 1241
Add support for cloning with hardlinks on windows. In order to use hardlinks, the win32file module is needed, and this is present in ActivePython. If it isn't present, or hardlinks are not supported on the underlying filesystem, a regular copy is used. When using hardlinks the biggest benefit is probably the saving in space, but cloning can be much quicker. For example cloning the Xen tree (non trivial) without an update goes from about 95s to 15s. Unix-like platforms should be unaffected, although should be more tolerant on filesystems that don't support hard links. (tweaked by mpm to deal with new copyfiles function) --- hg.orig/mercurial/commands.py 2005-09-13 19:32:53.000000000 -0500 +++ hg/mercurial/commands.py 2005-09-14 12:11:34.000000000 -0500 @@ -620,10 +620,6 @@ def clone(ui, source, dest=None, **opts) if other.dev() != -1: abspath = os.path.abspath(source) - copyfile = (os.stat(dest).st_dev == other.dev() - and getattr(os, 'link', None) or shutil.copy2) - if copyfile is not shutil.copy2: - ui.note("cloning by hardlink\n") # we use a lock here because if we race with commit, we can # end up with extra data in the cloned revlogs that's not @@ -638,7 +634,7 @@ def clone(ui, source, dest=None, **opts) for f in files.split(): src = os.path.join(source, ".hg", f) dst = os.path.join(dest, ".hg", f) - util.copyfiles(src, dst, copyfile) + util.copyfiles(src, dst) repo = hg.repository(ui, dest) Index: hg/mercurial/util.py =================================================================== --- hg.orig/mercurial/util.py 2005-09-08 00:15:25.000000000 -0500 +++ hg/mercurial/util.py 2005-09-14 12:16:49.000000000 -0500 @@ -12,7 +12,7 @@ platform-specific details from the core. import os, errno from demandload import * -demandload(globals(), "re cStringIO") +demandload(globals(), "re cStringIO shutil") def binary(s): """return true if a string is binary data using diff's heuristic""" @@ -217,17 +217,28 @@ def rename(src, dst): os.unlink(dst) os.rename(src, dst) -def copyfiles(src, dst, copyfile): - """Copy a directory tree, files are copied using 'copyfile'.""" +def copyfiles(src, dst, hardlink=None): + """Copy a directory tree using hardlinks if possible""" + + if hardlink is None: + hardlink = (os.stat(src).st_dev == + os.stat(os.path.dirname(dst)).st_dev) if os.path.isdir(src): os.mkdir(dst) for name in os.listdir(src): srcname = os.path.join(src, name) dstname = os.path.join(dst, name) - copyfiles(srcname, dstname, copyfile) + copyfiles(srcname, dstname, hardlink) else: - copyfile(src, dst) + if hardlink: + try: + os_link(src, dst) + except: + hardlink = False + shutil.copy2(src, dst) + else: + shutil.copy2(src, dst) def opener(base): """ @@ -244,13 +255,13 @@ def opener(base): if mode[0] != "r": try: - s = os.stat(f) + nlink = nlinks(f) except OSError: d = os.path.dirname(f) if not os.path.isdir(d): os.makedirs(d) else: - if s.st_nlink > 1: + if nlink > 1: file(f + ".tmp", "wb").write(file(f, "rb").read()) rename(f+".tmp", f) @@ -266,10 +277,41 @@ def _makelock_file(info, pathname): def _readlock_file(pathname): return file(pathname).read() +def nlinks(pathname): + """Return number of hardlinks for the given file.""" + return os.stat(pathname).st_nlink + +if hasattr(os, 'link'): + os_link = os.link +else: + def os_link(src, dst): + raise OSError(0, "Hardlinks not supported") + # Platform specific variants if os.name == 'nt': nulldev = 'NUL:' + try: # ActivePython can create hard links using win32file module + import win32file + + def os_link(src, dst): # NB will only succeed on NTFS + win32file.CreateHardLink(dst, src) + + def nlinks(pathname): + """Return number of hardlinks for the given file.""" + try: + fh = win32file.CreateFile(pathname, + win32file.GENERIC_READ, win32file.FILE_SHARE_READ, + None, win32file.OPEN_EXISTING, 0, None) + res = win32file.GetFileInformationByHandle(fh) + fh.Close() + return res[7] + except: + return os.stat(pathname).st_nlink + + except ImportError: + pass + def is_exec(f, last): return last
Tue, 13 Sep 2005 19:33:18 -0500 Convert hgk to use the hgit extension, and upate to the latest gitk
mason@suse.com [Tue, 13 Sep 2005 19:33:18 -0500] rev 1240
Convert hgk to use the hgit extension, and upate to the latest gitk
Tue, 13 Sep 2005 19:33:10 -0500 Turn hgit into an extension, and add commands supporting the latest gitk
mason@suse.com [Tue, 13 Sep 2005 19:33:10 -0500] rev 1239
Turn hgit into an extension, and add commands supporting the latest gitk
Tue, 13 Sep 2005 19:32:53 -0500 Add log -b to show the branch a specific revision lives in
mason@suse.com [Tue, 13 Sep 2005 19:32:53 -0500] rev 1238
Add log -b to show the branch a specific revision lives in This can be somewhat slow on very large repositories, so I didn't want to include it in -v --- hg.orig/mercurial/commands.py 2005-09-13 14:21:57.000000000 -0500 +++ hg/mercurial/commands.py 2005-09-13 18:55:52.000000000 -0500 @@ -1161,7 +1161,10 @@ def log(ui, repo, *pats, **opts): du = dui(ui) elif st == 'add': du.bump(rev) - show_changeset(du, repo, rev) + br = None + if opts['branch']: + br = repo.branchlookup([repo.changelog.node(rev)]) + show_changeset(du, repo, rev, brinfo=br) if opts['patch']: changenode = repo.changelog.node(rev) prev, other = repo.changelog.parents(changenode) @@ -1743,6 +1746,7 @@ table = { (log, [('I', 'include', [], 'include path in search'), ('X', 'exclude', [], 'exclude path from search'), + ('b', 'branch', None, 'show branches'), ('r', 'rev', [], 'revision'), ('p', 'patch', None, 'show patch')], 'hg log [-I] [-X] [-r REV]... [-p] [FILE]'),
(0) -1000 -120 +120 +1000 +3000 tip