summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | fix timezones in darcs-fast-export, take 2D Herring2010-04-211-19/+10
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous patch had a flaw; it assumed that darcs was storing the committer's timezone. Instead, darcs always stores UTC timestamps in an ISO 8601 format. Tools like "darcs changes" convert this into the user's local time as a convenience. I couldn't find an authoritative spec, but here are some relevant references. http://wiki.darcs.net/NamedPatch http://search.cpan.org/~david/Darcs-Inventory-1.4/lib/Darcs/Inventory/Patch.pm http://bugs.darcs.net/issue140 To resolve the issue, this patch always reports that the timezone is UTC.
* | | | | | | Merge patches from Miklos for darcs-fast-exportIan Clatworthy2010-03-173-36/+58
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | fix timezones in darcs-fast-exportD Herring2010-03-171-33/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the export was mangling timezones. There were conversion errors when the darcs TZ did not match the conversion TZ. Also, the conversion timezone was always reported (this is bad since two conversions may now differ). This patch fixes both problems on my system, but it has not been extensively tested. Can 'local_date' be used reliably? What about my TZ manipulations? I am no expert in darcs or python. Developed with darcs 2.3.1 and Python 2.6.4. To check for errors, I compared a darcs repo against a "git darcs fetch" into a new repo. The following two commands were helpful. # darcs changes | grep for dates # git log --pretty=format:%ad REF | cat Example -- EDT=UTC-4 and EST=UTC-5; I am processing in EDT. darcs date: "Fri Mar 31 10:48:00 EST 2006" Before patch, git reported: "Fri Mar 31 12:48:00 2006 -0400" (should be 11:48 -0400 or 10:48 -0500) After patch, git reported: "Fri Mar 31 10:48:00 2006 -0500"
| * | | | | | git-darcs: add a see-also section to manpageMiklos Vajna2010-03-171-0/+3
| | | | | | |
| * | | | | | git-darcs: add support for {pre,post}-{fetch,push} hooksMiklos Vajna2010-03-172-2/+35
| | | | | | |
| * | | | | | git-darcs: don't add empty darcs-fast-export-options config entryMiklos Vajna2010-03-171-1/+1
|/ / / / / /
* | | | | | Release 0.9release-0.9.0Ian Clatworthy2010-02-283-13/+4
| | | | | |
* | | | | | Don't bail for http://path/to/repo darcs remotesIan Clatworthy2010-02-131-1/+2
|\ \ \ \ \ \
| * | | | | | Don't bail for http://path/to/repo darcs remotesJustin Bogner2010-02-111-1/+2
|/ / / / / /
* | | | | | Fallback to system configobj if none in bzrib.utilIan Clatworthy2010-02-091-1/+4
|\ \ \ \ \ \
| * | | | | | Cope with Debian's bzr using the system configobj, not shipping with its own.Jelmer Vernooij2010-02-081-1/+4
|/ / / / / /
* | | | | | Add explorer integrationIan Clatworthy2010-01-318-0/+20
| | | | | |
* | | | | | Ignore progress messages unless in verbose modeIan Clatworthy2010-01-281-2/+4
| | | | | |
* | | | | | Fix Monotone prefix and command name: mnt -> mtnIan Clatworthy2010-01-282-9/+9
| | | | | |
* | | | | | Merge Python 2.5 fix for darcs-fast-exportIan Clatworthy2010-01-251-1/+6
|\ \ \ \ \ \
| * | | | | | darcs-fast-export: don't use urllib.urlopen().getcode()Miklos Vajna2010-01-251-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | As it's missing from python2.5.
* | | | | | | Include the known_graph code.John Arbash Meinel2010-01-051-2/+38
|\ \ \ \ \ \ \
| * | | | | | | Some debugging code. It looks like the main bugs involve files that are ↵John Arbash Meinel2009-12-011-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | deleted and restored.
| * | | | | | | Use the new KnownGraph.add_node() functionality.John Arbash Meinel2009-11-301-2/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes the file_id heads lookups to use a KnownGraph over all revision-ids which should be a lot better than using a regular Graph instance. Initial testing w/ xserver doesn't show much, since it seems to be purely linear for quite a bit of x history. Oddly enough the heads result seems to give a different number of file texts which is worrying.
* | | | | | | | Switch to using CommitBuilderJohn Arbash Meinel2009-12-116-46/+415
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than holding most of the logic ourselves.
| * | | | | | | | Add a bunch of direct tests for the _TreeShim interface.John Arbash Meinel2009-12-093-13/+170
| |/ / / / / / /
| * | | | | | | The fix that landed in bzr did not set builder.new_inventory. :(John Arbash Meinel2009-11-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This still works, but it means that we don't keep the in-memory deserialized bits from the previous inventory. Instead we start from-scratch each time.
| * | | | | | | bzr *does* run atexit functions when exiting, but doesn't run deconstructors.John Arbash Meinel2009-11-151-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, shrink the 'small blob' size a bit to allow data to be reclaimed. Though it did show up as *lots* of small files in the qt import. Something like 1-2k files in the first 2 dumps.
| * | | | | | | Switch to closing the large-content blobs that we store to disk.John Arbash Meinel2009-11-131-21/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During the qt import, we end up with >2000 large blobs, and a few hundred MB of small blobs. We don't want to create more small blobs, because their disk space is not reclaimed, but >2000 is too many open file handles (at least on Windows). Using filenames works, but we aren't as guaranteed that things will clean up nicely.
| * | | | | | | Dump sticky blobs to disk when memory pressure gets high.John Arbash Meinel2009-11-131-9/+106
| | | | | | | |
| * | | | | | | Fall back to the repository for cases where the content is not present in ↵John Arbash Meinel2009-11-121-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the stream yet.
| * | | | | | | We need to handle when the object has been deleted.John Arbash Meinel2009-11-121-11/+33
| | | | | | | |
| * | | | | | | Found a bug in CommitBuilder.finish_inventory().John Arbash Meinel2009-11-121-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It turns out that the add_revision_by_delta code was not properly setting inv_sha1, but it didn't matter because apparently the other code wasn't really using it.... Anyway, this gives us a proper new inventory, and seems to generally be working. The next step is that the 'merge' file text is not present because the delta stream does not contain it...
| * | | | | | | (broken) Start working towards using CommitBuilder rather than using a ↵John Arbash Meinel2009-11-123-49/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | custom implementation.
| * | | | | | | add the failing test that we preserve the last-modified revisionJohn Arbash Meinel2009-11-121-0/+48
| | | | | | | |
* | | | | | | | Merge John's test refactoring - uses multiplication nowIan Clatworthy2009-12-081-135/+16
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | Change to multiplying tests rather than manually.John Arbash Meinel2009-11-121-135/+16
| | | | | | | |
* | | | | | | | Merge John's improvements to info_processor.pyIan Clatworthy2009-12-081-30/+23
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | Change (.keys(), .values()) to using (.iteritems())John Arbash Meinel2009-11-111-30/+23
| | | | | | | |
* | | | | | | | Merge John's smarter caching of blobs to improve memory footprintIan Clatworthy2009-12-082-9/+138
| | | | | | | |
* | | | | | | | Faster post-processing of the inventory deltaIan Clatworthy2009-12-041-6/+12
|\ \ \ \ \ \ \ \
| * | | | | | | | When post-processing the delta stream, don't ask to generate a full ↵John Arbash Meinel2009-11-301-6/+12
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | inventory to check for deletions. Instead, just use 'create_by_apply_delta'.
* | | | | | | | Merge Jelmer's fix for exporters installationIan Clatworthy2009-11-291-0/+1
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | |
| * | | | | | | Fix installation of the exporters module.Jelmer Vernooij2009-11-261-0/+1
|/ / / / / / /
* | | | | | | Default branch nick to mapped git ref name (Max Bowsher)Ian Clatworthy2009-11-235-70/+48
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Default branch-nick to mapped git ref name.Max Bowsher2009-11-041-0/+3
| | | | | | |
| * | | | | | Store the BranchMapper in the CacheManager so it can be got from other places.Max Bowsher2009-11-042-4/+6
| | | | | | |
| * | | | | | Make BranchMapper just map one name per call.Max Bowsher2009-11-043-57/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Move building a dict to the one callsite which actually wants that.
| * | | | | | Remove unused and unimplemented BranchMapper.bzr_to_git, and update docstring.Max Bowsher2009-11-041-9/+2
| | | | | | |
| * | | | | | Avoid spurious 'git-' being prefixed on branches whose names happen to end ↵Max Bowsher2009-11-041-1/+9
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with 'trunk', by tightening logic in BranchMapper._git_to_bzr_name. Also document.
* | | | | | Merge Max's fixes for tags created via commit commandsIan Clatworthy2009-11-061-0/+7
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Also catch tagging via commit when resuming a crashed import.Max Bowsher2009-11-041-0/+3
| | | | | |
| * | | | | Set a tag when touching a refs/tags/ ref with a commit command.Max Bowsher2009-11-031-0/+4
|/ / / / /
* | | | | http read support for darcs-fast-exportIan Clatworthy2009-10-274-304/+451
|\ \ \ \ \
| * | | | | darcs-fast-export: refactor to a python classMiklos Vajna2009-10-221-336/+356
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The code should be a lot more readable now and we can avoid function names like open_() as well. All testcases still pass.