jelmer/dulwich-libgit2.git
10 years agoInitial work on a fastimport parser.
Jelmer Vernooij [Tue, 3 Aug 2010 21:57:45 +0000 (23:57 +0200)]
Initial work on a fastimport parser.

This badly needs tests, and only implements a tiny subset of fastimport. The
rest will be up later this week.

10 years agoFix tests with testtools installed.
Jelmer Vernooij [Mon, 2 Aug 2010 20:29:35 +0000 (22:29 +0200)]
Fix tests with testtools installed.

10 years agoMerge support for side-band-64k.
Jelmer Vernooij [Mon, 2 Aug 2010 16:45:51 +0000 (18:45 +0200)]
Merge support for side-band-64k.

10 years agoCompat tests for servers with and without side-band-64k.
Dave Borowitz [Tue, 18 May 2010 19:46:49 +0000 (12:46 -0700)]
Compat tests for servers with and without side-band-64k.

Change-Id: I0b4c2766f866e7f1030bd75b7e187ee02be894a6

10 years agoAdd side-band-64k support to ReceivePackHandler.
Dave Borowitz [Tue, 18 May 2010 19:43:57 +0000 (12:43 -0700)]
Add side-band-64k support to ReceivePackHandler.

To do this, we add a BufferedPktLineWriter class that buffers writes
independently of pkt-lines. This class is used to wrap the pkt-lines of
the status report inside a longer pkt-line written to the sideband.

Change-Id: Ie5d9294e66d4174e2fe111a8424651a70869a629

10 years agoMore flexible version checking for compat tests.
Dave Borowitz [Sun, 16 May 2010 22:11:37 +0000 (15:11 -0700)]
More flexible version checking for compat tests.

We now check up to 4 components of the version number (e.g. 1.7.0.2).
Reorganized to make future changes easier. Added tests.

Change-Id: Id2f0bd5ba01cb77724d399d9c3a11af695eb2707

10 years agoTweak server handler injection.
Dave Borowitz [Tue, 18 May 2010 19:42:42 +0000 (12:42 -0700)]
Tweak server handler injection.

Now the server stores a default set of handlers rather than None if
none were passed in. Additionally, callers no longer have to copy
DEFAULT_HANDLERS; the copy is done in the TCPGitServer constructor, and
the dict is updated with any custom handlers.

Change-Id: If617630346bcb57074ec746d8e66d43ba1e00be5

10 years agoserver: Change capabilities methods to classmethods.
Dave Borowitz [Tue, 18 May 2010 19:40:56 +0000 (12:40 -0700)]
server: Change capabilities methods to classmethods.

This makes more sense as currently the correct way to make a handler
with different capabilities is to override this method in a subclass.

Change-Id: Iff42b1c6fdd3a2578acd21896621ada9a2b4f1ac

10 years agoFactor out a function to convert a line to a pkt-line.
Dave Borowitz [Fri, 14 May 2010 01:22:07 +0000 (18:22 -0700)]
Factor out a function to convert a line to a pkt-line.

Change-Id: I11bd6c47a2434d371d7e15560fae94268cba260a

10 years agoFactor out _report_status in ReceivePackHandler.
Dave Borowitz [Fri, 14 May 2010 01:54:22 +0000 (18:54 -0700)]
Factor out _report_status in ReceivePackHandler.

Change-Id: Ib0829d6a8817518625a1a3f06392d77f04862c2d

10 years agotest_web: Ensure cache headers are set correctly.
Dave Borowitz [Sun, 1 Aug 2010 02:01:57 +0000 (04:01 +0200)]
test_web: Ensure cache headers are set correctly.

10 years agoAdd more tests for web.py.
Dave Borowitz [Sun, 1 Aug 2010 02:01:21 +0000 (04:01 +0200)]
Add more tests for web.py.

All functions now have coverage. Also fixed one small bug discovered in
testing.

10 years agotest/utils: Return non-__slot__ subclasses from make_object.
Dave Borowitz [Sun, 1 Aug 2010 02:00:45 +0000 (04:00 +0200)]
test/utils: Return non-__slot__ subclasses from make_object.

10 years agotest_web: Simplify assertions about Content-Type.
Dave Borowitz [Sun, 1 Aug 2010 02:00:18 +0000 (04:00 +0200)]
test_web: Simplify assertions about Content-Type.

10 years agotest_web: Use MemoryRepo for tests instead of complex tests.
Dave Borowitz [Sun, 1 Aug 2010 01:59:39 +0000 (03:59 +0200)]
test_web: Use MemoryRepo for tests instead of complex tests.

10 years agoCorrect PSF copyright on web.date_time_string.
Dave Borowitz [Sun, 1 Aug 2010 01:59:16 +0000 (03:59 +0200)]
Correct PSF copyright on web.date_time_string.

10 years agoweb: Distinguish between missing files and read errors.
Dave Borowitz [Sun, 1 Aug 2010 01:58:21 +0000 (03:58 +0200)]
web: Distinguish between missing files and read errors.

Missing files now return a 404, whereas read errors return a 500.

We now do not need to log 404s and 403s, since they will typically be
logged by the WSGI container and the root causes are fairly unambiguous.

10 years agoFix iter_tree_contents iteration.
Dave Borowitz [Sun, 1 Aug 2010 01:57:19 +0000 (03:57 +0200)]
Fix iter_tree_contents iteration.

10 years agoobject_store: Include subtrees in iteration.
Dave Borowitz [Fri, 30 Jul 2010 11:09:12 +0000 (13:09 +0200)]
object_store: Include subtrees in iteration.

10 years agoobject_store: Make iter_tree_contents depth-first.
Dave Borowitz [Fri, 30 Jul 2010 11:08:46 +0000 (13:08 +0200)]
object_store: Make iter_tree_contents depth-first.

This mimics the behavior of os.walk as well as common tools like find
and ls -R.

Memory usage may also be better, as directory trees tend to have a
higher branching factor than depth. (Note that the overhead of Python
stack frames may make this not true in many cases, and I haven't run
any benchmarks.)

10 years agoAdd docstrings for parse_timezone and format_timezone.
Jelmer Vernooij [Tue, 27 Jul 2010 18:08:35 +0000 (20:08 +0200)]
Add docstrings for parse_timezone and format_timezone.

10 years agoAdd Blob.__slots__.
Jelmer Vernooij [Tue, 27 Jul 2010 18:06:34 +0000 (20:06 +0200)]
Add Blob.__slots__.

10 years agopack: Add ThinPackData.from_file.
Dave Borowitz [Mon, 26 Jul 2010 17:52:37 +0000 (19:52 +0200)]
pack: Add ThinPackData.from_file.

10 years agoUse GitFile when modifying packed-refs in tests.
Dave Borowitz [Mon, 26 Jul 2010 17:44:15 +0000 (19:44 +0200)]
Use GitFile when modifying packed-refs in tests.

10 years agoDon't error when creating GitFiles with the default mode.
Dave Borowitz [Mon, 26 Jul 2010 17:43:17 +0000 (19:43 +0200)]
Don't error when creating GitFiles with the default mode.

10 years agoAdd trivial test for write_pack_header.
Jelmer Vernooij [Mon, 26 Jul 2010 17:41:51 +0000 (19:41 +0200)]
Add trivial test for write_pack_header.

10 years agopack: Factor out write_pack_header.
Dave Borowitz [Mon, 26 Jul 2010 17:34:36 +0000 (19:34 +0200)]
pack: Factor out write_pack_header.

10 years agoweb: Use write() callable for output.
Dave Borowitz [Mon, 26 Jul 2010 17:17:50 +0000 (19:17 +0200)]
web: Use write() callable for output.

PEP 333 specifies that start_response must return a write() callable
for compatibility with legacy stream-based APIs, which includes the
tunneled git protocol code.

10 years agoweb: Handle empty-string CONTENT_LENGTH.
Dave Borowitz [Mon, 26 Jul 2010 17:17:27 +0000 (19:17 +0200)]
web: Handle empty-string CONTENT_LENGTH.

10 years agotest_objects: Remove unnecessary file writing.
Dave Borowitz [Mon, 26 Jul 2010 17:16:11 +0000 (19:16 +0200)]
test_objects: Remove unnecessary file writing.

10 years agoUse slots.
Jelmer Vernooij [Fri, 23 Jul 2010 14:26:58 +0000 (16:26 +0200)]
Use slots.

10 years agoStart on 0.6.2.
Jelmer Vernooij [Thu, 22 Jul 2010 11:46:46 +0000 (13:46 +0200)]
Start on 0.6.2.

10 years agorelease 0.6.1. dulwich-0.6.1
Jelmer Vernooij [Thu, 22 Jul 2010 11:42:50 +0000 (13:42 +0200)]
release 0.6.1.

10 years agoSome restructuredText fixes.
Jelmer Vernooij [Wed, 21 Jul 2010 13:17:59 +0000 (15:17 +0200)]
Some restructuredText fixes.

10 years agoUse 0.6.1 version number everywhere.
Jelmer Vernooij [Wed, 21 Jul 2010 12:01:51 +0000 (14:01 +0200)]
Use 0.6.1 version number everywhere.

10 years agoMove dul-web's main functionality to web.
Dave Borowitz [Wed, 21 Jul 2010 11:34:59 +0000 (13:34 +0200)]
Move dul-web's main functionality to web.

10 years agoMove reference WSGI handler to web.py.
Dave Borowitz [Wed, 21 Jul 2010 11:34:28 +0000 (13:34 +0200)]
Move reference WSGI handler to web.py.

This is conditionally defined only if wsgiref is available for python
2.4 compatibility. The failure mode is still the same: if wsgiref is not
installed, users can import the web module but not run dul-web.

10 years agoMake dul-daemon a trivial wrapper around server functionality.
Dave Borowitz [Wed, 21 Jul 2010 11:33:38 +0000 (13:33 +0200)]
Make dul-daemon a trivial wrapper around server functionality.

10 years agoUse HTTPGitRequestHandler for test_web.
Dave Borowitz [Wed, 21 Jul 2010 11:32:54 +0000 (13:32 +0200)]
Use HTTPGitRequestHandler for test_web.

This quiets up the tests by keeping logging output from going to stderr.
It is still trapped by nose and printed on failure, so this should not
hurt debugging significantly.

10 years agotest_file.GitFileTests.test_abort_close_removed: close lockfile before removing it
Tay Ray Chuan [Tue, 20 Jul 2010 17:22:07 +0000 (19:22 +0200)]
test_file.GitFileTests.test_abort_close_removed: close lockfile before removing it

Prevents a WindowsError when calling os.remove() on the lockfile.

10 years agotest_repository.DiskRefsContainerTests.test_remove_packed_without_peeled: prevent...
Tay Ray Chuan [Tue, 20 Jul 2010 17:21:09 +0000 (19:21 +0200)]
test_repository.DiskRefsContainerTests.test_remove_packed_without_peeled: prevent '\r' on windows

By writing to the file in binary mode, we stop python from munging the
packed-refs file with '\r'-style line endings on Windows.

10 years agodulwich/_objects.c
Tay Ray Chuan [Tue, 20 Jul 2010 17:18:00 +0000 (19:18 +0200)]
dulwich/_objects.c

10 years agoUse --quiet when initializing git repositories in compat tests.
Jelmer Vernooij [Tue, 29 Jun 2010 23:36:33 +0000 (01:36 +0200)]
Use --quiet when initializing git repositories in compat tests.

10 years agoUse self.store rather than explicitly creating a DiskObjectStore.
Jelmer Vernooij [Mon, 28 Jun 2010 22:48:54 +0000 (00:48 +0200)]
Use self.store rather than explicitly creating a DiskObjectStore.

10 years agodulwich.pack.write_pack_index_v{1,2} now take a file-like object
Jelmer Vernooij [Mon, 28 Jun 2010 21:17:03 +0000 (23:17 +0200)]
dulwich.pack.write_pack_index_v{1,2} now take a file-like object
rather than a filename.

10 years agoAdd PackBasedObjectStore.pack_loose_objects().
Jelmer Vernooij [Mon, 28 Jun 2010 20:19:22 +0000 (22:19 +0200)]
Add PackBasedObjectStore.pack_loose_objects().

10 years agoAllow overriding paths to executables in GitSSHClient.
Jelmer Vernooij [Mon, 28 Jun 2010 19:40:01 +0000 (21:40 +0200)]
Allow overriding paths to executables in GitSSHClient.

10 years agoMerge Augie's GitClient refactoring.
Jelmer Vernooij [Mon, 28 Jun 2010 16:44:11 +0000 (18:44 +0200)]
Merge Augie's GitClient refactoring.

10 years agocompat.test_client: test SubprocessGitClient and SSHGitClient
Augie Fackler [Fri, 14 May 2010 17:47:09 +0000 (12:47 -0500)]
compat.test_client: test SubprocessGitClient and SSHGitClient

Change-Id: I905e4af9df72b45cc01366fc858f00cedaec61a0

10 years agoclient: refactor GitClient subclasses to enhance code commonality
Augie Fackler [Fri, 14 May 2010 17:47:07 +0000 (12:47 -0500)]
client: refactor GitClient subclasses to enhance code commonality

This makes GitClient abstract, and the concrete subclasses now share
all substantive implementation code with their superclass. This makes
the subclasses behave more uniformly, and makes testing the client
implementations easier.

Change-Id: I0a459e0e33afb54f3ba352dc66e7429b0f26c9d4

10 years agoparse_tree: Fix tests for pure-python implementation.
Jelmer Vernooij [Sat, 26 Jun 2010 22:01:55 +0000 (00:01 +0200)]
parse_tree: Fix tests for pure-python implementation.

10 years agoSupport Tree.iteritems() returning an iterator rather than a list.
Jelmer Vernooij [Sat, 26 Jun 2010 21:59:24 +0000 (23:59 +0200)]
Support Tree.iteritems() returning an iterator rather than a list.

10 years agoRemove some unused imports.
Jelmer Vernooij [Thu, 17 Jun 2010 21:38:46 +0000 (23:38 +0200)]
Remove some unused imports.

10 years agoMerge logging support in the web server.
Jelmer Vernooij [Thu, 17 Jun 2010 13:54:14 +0000 (15:54 +0200)]
Merge logging support in the web server.

10 years agoAdd simple logging to HTTP server.
Dave Borowitz [Tue, 11 May 2010 21:03:29 +0000 (14:03 -0700)]
Add simple logging to HTTP server.

Change-Id: I696bf5dcc05c86e115a85828be5b88d4ed3f2b21

10 years agoAdd logging utilities and server logging.
Dave Borowitz [Tue, 11 May 2010 19:04:54 +0000 (12:04 -0700)]
Add logging utilities and server logging.

The logging utilities, including default setup, live in log_utils.py.
Callers do not need to import the logging module if all they need is
getLogger.

Change-Id: I5364ae2a2524397b0d13cc727e3f031e3f5adecf

10 years agoFix tests.
Jelmer Vernooij [Tue, 15 Jun 2010 16:18:57 +0000 (18:18 +0200)]
Fix tests.

10 years agoWhen restting ShaFile._file, also reset ShaFile._magic.
Jelmer Vernooij [Sun, 13 Jun 2010 15:48:49 +0000 (17:48 +0200)]
When restting ShaFile._file, also reset ShaFile._magic.

10 years agoFix parsing from file-like objects.
Jelmer Vernooij [Sat, 12 Jun 2010 02:05:31 +0000 (04:05 +0200)]
Fix parsing from file-like objects.

10 years agoFix compatibility tests when python-testtools is installed.
Jelmer Vernooij [Fri, 11 Jun 2010 23:11:37 +0000 (01:11 +0200)]
Fix compatibility tests when python-testtools is installed.

10 years agoMerge support for lazy loading packs.
Jelmer Vernooij [Fri, 11 Jun 2010 22:16:56 +0000 (00:16 +0200)]
Merge support for lazy loading packs.

10 years agoAdd Pack.from_lazy_objects().
Jelmer Vernooij [Fri, 11 Jun 2010 22:00:35 +0000 (00:00 +0200)]
Add Pack.from_lazy_objects().

10 years agoUse TestTools' TestCase so TestSkipped gets picked up correctly.
Jelmer Vernooij [Thu, 10 Jun 2010 10:54:45 +0000 (12:54 +0200)]
Use TestTools' TestCase so TestSkipped gets picked up correctly.

10 years agoAlways import TestCase from dulwich.tests so it can be extended or overridden.
Jelmer Vernooij [Thu, 10 Jun 2010 10:46:37 +0000 (12:46 +0200)]
Always import TestCase from dulwich.tests so it can be extended or overridden.

10 years agoUse Python2.7 SkipTest class if available, patch up testtools if it is
Jelmer Vernooij [Thu, 10 Jun 2010 10:36:52 +0000 (12:36 +0200)]
Use Python2.7 SkipTest class if available, patch up testtools if it is
installed so testtools and subunit can report skips properly.

10 years agoMerged changes from trunk
Ross Light [Fri, 4 Jun 2010 05:20:44 +0000 (22:20 -0700)]
Merged changes from trunk

10 years agomerge support for MemoryRepo, path fixing in the web server on non-unix platforms
Jelmer Vernooij [Wed, 2 Jun 2010 00:54:25 +0000 (02:54 +0200)]
merge support for MemoryRepo, path fixing in the web server on non-unix platforms

10 years agoAdd a MemoryRepo that stores everything in memory.
Dave Borowitz [Thu, 13 May 2010 00:47:46 +0000 (17:47 -0700)]
Add a MemoryRepo that stores everything in memory.

This just delegates to a MemoryObjectStore and DictRefsContainer, with a
dict of contents for named files.

As with MemoryObjectStore and DictRefsContainer, this will be useful
primarily for tests.

Change-Id: Ide345a397a0dcde990531bbc4854569ea3274b17

10 years agoUse correct path separators for named repo files.
Dave Borowitz [Thu, 13 May 2010 00:47:46 +0000 (17:47 -0700)]
Use correct path separators for named repo files.

Change-Id: I79175078920ef177006bbd323c3d63232f3060b8

10 years agoMove named file initilization to BaseRepo.
Dave Borowitz [Thu, 13 May 2010 00:44:05 +0000 (17:44 -0700)]
Move named file initilization to BaseRepo.

BaseRepo now supports both getting (abstractly) putting the contents of named
files.

Change-Id: I657ddc122eca5f363b101182c34e4a222b6e072c

10 years agoRemove unused, add bug reference.
Jelmer Vernooij [Sun, 30 May 2010 15:00:00 +0000 (17:00 +0200)]
Remove unused, add bug reference.

10 years agoMerge refactoring of report-status parsing.
Jelmer Vernooij [Sun, 30 May 2010 14:49:14 +0000 (16:49 +0200)]
Merge refactoring of report-status parsing.

10 years agoMerge code cleanups from Dave.
Jelmer Vernooij [Sat, 29 May 2010 22:51:56 +0000 (00:51 +0200)]
Merge code cleanups from Dave.

10 years agoMerge sorted_tree improvements.
Jelmer Vernooij [Sat, 29 May 2010 22:47:07 +0000 (00:47 +0200)]
Merge sorted_tree improvements.

10 years agoAdded SSHGitClient.receive_pack_path and SSHGitClient.upload_pack_path attributes
Ross Light [Tue, 25 May 2010 00:55:09 +0000 (17:55 -0700)]
Added SSHGitClient.receive_pack_path and SSHGitClient.upload_pack_path attributes

10 years agoFix copyright in dul-web.
Dave Borowitz [Tue, 11 May 2010 17:11:29 +0000 (10:11 -0700)]
Fix copyright in dul-web.

As with the rest of the files I authored, this one was authored at work
and so the copyright belongs to my employer.

Change-Id: Ib5405e7f3a4c2d166cdee28e372d76a1caaf7c00

10 years agoClean up file headers.
Dave Borowitz [Tue, 11 May 2010 17:10:14 +0000 (10:10 -0700)]
Clean up file headers.

Fixed several typos that had been copied to multiple files. Reworded a
few file summaries. Removed trailing whitespace. Standardized one blank
line after GPL notice.

Change-Id: Id8ba51425dec66ebd71432b49341b464f6b589ac

10 years agoFix memory leak in C implementation of sorted_tree_items.
Dave Borowitz [Tue, 4 May 2010 21:54:05 +0000 (14:54 -0700)]
Fix memory leak in C implementation of sorted_tree_items.

The tuples created by PyTuple_Pack did not have their refcounts
decreased before raising an exception.

Change-Id: Ic7b62c0fb008129d648d2c3bacfbc2d47260229b

10 years agoAdd tests for sorted_tree_items and C implementation.
Dave Borowitz [Tue, 4 May 2010 21:53:30 +0000 (14:53 -0700)]
Add tests for sorted_tree_items and C implementation.

Change-Id: I653763f8fce86e96d3dd10951a97e558e55003e8

10 years agorelease 0.6.0. dulwich-0.6.0
Jelmer Vernooij [Sat, 22 May 2010 20:59:34 +0000 (22:59 +0200)]
release 0.6.0.

10 years agoAdd reminder to update NEWS to HACKING.
Jelmer Vernooij [Sat, 22 May 2010 20:57:59 +0000 (22:57 +0200)]
Add reminder to update NEWS to HACKING.

10 years agoUpdate NEWS.
Jelmer Vernooij [Sat, 22 May 2010 20:57:12 +0000 (22:57 +0200)]
Update NEWS.

10 years agoMerge some extra tests for packed ref deletion with no peeled refs
Jelmer Vernooij [Sat, 22 May 2010 20:11:18 +0000 (22:11 +0200)]
Merge some extra tests for packed ref deletion with no peeled refs

10 years agoMerge fix for crash deleting a ref.
Jelmer Vernooij [Sat, 22 May 2010 20:07:07 +0000 (22:07 +0200)]
Merge fix for crash deleting a ref.

10 years agoMerge fix for send pack when there is nothing to fetch from Augie.
Jelmer Vernooij [Sat, 22 May 2010 19:55:20 +0000 (21:55 +0200)]
Merge fix for send pack when there is nothing to fetch from Augie.

10 years agotest_repository: test packed ref deletion with no peeled refs
Augie Fackler [Fri, 21 May 2010 20:59:25 +0000 (15:59 -0500)]
test_repository: test packed ref deletion with no peeled refs

Change-Id: I996f70f8f2433673a5ee74b8b0145035bf4809a2

10 years agotest_repository: clean up whitespace
Augie Fackler [Fri, 21 May 2010 16:34:05 +0000 (11:34 -0500)]
test_repository: clean up whitespace

Change-Id: I5b6406dd16b9e6d2cac2061dc3f0eeb8cebce3ce

10 years agoDiskRefsContainer: don't crash deleting a ref without peeled refs
Augie Fackler [Thu, 20 May 2010 23:59:27 +0000 (18:59 -0500)]
DiskRefsContainer: don't crash deleting a ref without peeled refs

It's a valid state to have loaded packed refs but not have any peeled
refs. Prior to this change, attempting to delete a tag in that
configuration would cause a traceback when checking 'if name in
self._peeled_refs' since self._peeled_refs was None.

Change-Id: I442d8dd4c97316c6295c9dbdace088feeedddd35

10 years agorepo: clean up whitespace
Augie Fackler [Thu, 20 May 2010 23:57:11 +0000 (18:57 -0500)]
repo: clean up whitespace

10 years agoclient: fix send_pack when there is nothing to send
Augie Fackler [Fri, 14 May 2010 17:47:13 +0000 (12:47 -0500)]
client: fix send_pack when there is nothing to send

Includes a functional test that failed prior to this fix.

Change-Id: I7d95cff21c56a198a836479d8e88a3589e0f196c

10 years agocompat.test_client: test fetching packs
Augie Fackler [Fri, 14 May 2010 17:47:12 +0000 (12:47 -0500)]
compat.test_client: test fetching packs

Change-Id: Ib7b271dd30265ea6633fece8c04566165fd8ce84

10 years agoRemove PackData.__del__ as it causes reference loops; use PackData.close
Jelmer Vernooij [Thu, 20 May 2010 10:28:18 +0000 (12:28 +0200)]
Remove PackData.__del__ as it causes reference loops; use PackData.close
instead.

10 years agodulwich.client: fix fetch if no progress function is specified
Augie Fackler [Fri, 14 May 2010 17:47:10 +0000 (12:47 -0500)]
dulwich.client: fix fetch if no progress function is specified

Change-Id: I0627b9bea8d7259984fb6587a877bb027dde7367

10 years agoMerge improvements and extra tests, mainly to deal better with creating non-bare...
Jelmer Vernooij [Mon, 17 May 2010 21:50:35 +0000 (23:50 +0200)]
Merge improvements and extra tests, mainly to deal better with creating non-bare repositories.

10 years agoclient: move parsing report-status data into a method
Augie Fackler [Fri, 14 May 2010 17:47:03 +0000 (12:47 -0500)]
client: move parsing report-status data into a method

This makes send_pack shorter and less indent-heavy, making a following change
which will require wrapping that code in a try/finally more readable.

Change-Id: I1e3d4d0d79ee61ec0b06dd2c4362c7b113072124

10 years agoMake sure ids get updated when the object changes.
Jelmer Vernooij [Thu, 13 May 2010 09:26:38 +0000 (11:26 +0200)]
Make sure ids get updated when the object changes.

10 years agoAdd docstring.
Jelmer Vernooij [Thu, 13 May 2010 09:23:54 +0000 (11:23 +0200)]
Add docstring.

10 years agoAllow double-staging of files that are deleted in the index.
Dave Borowitz [Mon, 3 May 2010 23:44:05 +0000 (16:44 -0700)]
Allow double-staging of files that are deleted in the index.

Change-Id: I92b75d09281d37c2486f77aa52680b8173379016

10 years agoMove tests that build repos from scratch to their own class.
Dave Borowitz [Mon, 3 May 2010 23:39:10 +0000 (16:39 -0700)]
Move tests that build repos from scratch to their own class.

Change-Id: I7950ed60fedb7098c3db2a63cc1f9ba14d1c1fa2

10 years agoImplement set_symbolic_ref separately in Disk/DictRefsContainer.
Dave Borowitz [Mon, 3 May 2010 18:36:56 +0000 (11:36 -0700)]
Implement set_symbolic_ref separately in Disk/DictRefsContainer.

When writing tests, it became clear that the old implementation was broken.

Change-Id: Id98d7af0c92568d1faf555784214d0c1eb298feb