jelmer/gitpython.git
15 years agocontinued yesterdays work on the execute stuff
Florian Apolloner [Sat, 21 Jun 2008 16:44:07 +0000 (18:44 +0200)]
continued yesterdays work on the execute stuff

15 years agoMerge branch 'master' of git@gitorious.org:git-python/apollo13
Florian Apolloner [Fri, 20 Jun 2008 21:39:57 +0000 (23:39 +0200)]
Merge branch 'master' of git@gitorious.org:git-python/apollo13

15 years agomade with_exceptions=True default (don't look before you leak ;)) and removed the...
Florian Apolloner [Fri, 20 Jun 2008 21:22:52 +0000 (23:22 +0200)]
made with_exceptions=True default (don't look before you leak ;)) and removed the combined output of stderr and stdout.
Also renamed with_status to extended_output.
The method_missing function needs to be modified, as it does a kwargs.pop(xxx, None); which resulted in with_excpetions=None -> False all the time...
Test should follow tomorrow.

15 years agoMerge branch 'master' of git://gitorious.org/git-python/david into bisect
Florian Apolloner [Fri, 20 Jun 2008 20:46:11 +0000 (22:46 +0200)]
Merge branch 'master' of git://gitorious.org/git-python/david into bisect

15 years agofixed the tests, which where broken before my commit, although the bug didn't reveal...
Florian Apolloner [Fri, 20 Jun 2008 20:43:15 +0000 (22:43 +0200)]
fixed the tests, which where broken before my commit, although the bug didn't reveal it...

15 years agoMerge branch 'master' of git://gitorious.org/git-python/david
Florian Apolloner [Fri, 20 Jun 2008 20:14:41 +0000 (22:14 +0200)]
Merge branch 'master' of git://gitorious.org/git-python/david

15 years agofixed second problem in http://groups.google.com/group/git-python/browse_thread/threa...
Florian Apolloner [Fri, 20 Jun 2008 19:05:10 +0000 (21:05 +0200)]
fixed second problem in groups.google.com/group/git-python/browse_thread/thread/b8f3580abf31f9db?hl=en#
I'll look at the other one in an hour

15 years agocmd: rename with_keep_cwd to keep_cwd
David Aguilar [Mon, 16 Jun 2008 00:03:53 +0000 (17:03 -0700)]
cmd: rename with_keep_cwd to keep_cwd

Having execute() use a different directory is an important piece
of API information so I added more documentation about it and
renamed the flag to just "keep_cwd" since that's shorter and simpler.

Signed-off-by: David Aguilar <davvid@gmail.com>
15 years agoMerge commit 'sverre/master' into david
David Aguilar [Sun, 15 Jun 2008 23:54:43 +0000 (16:54 -0700)]
Merge commit 'sverre/master' into david

* commit 'sverre/master':
  Added a with_keep_cwd option
  Improved the GIT_PYTHON_TRACE=full output format
  Added /dist to .gitignore

Conflicts:

lib/git/cmd.py

Signed-off-by: David Aguilar <davvid@gmail.com>
15 years agocmd: better support for bare repositories
David Aguilar [Sun, 15 Jun 2008 23:45:29 +0000 (16:45 -0700)]
cmd: better support for bare repositories

In order to avoid the expense of parsing .git/config
just to know whether or not a repository is bare
at __init__ time, we just pass an optional flag to
Git.__init__():
bare_repo with a default value of False.

Repo.init_bare() was updated to pass this flag.

We could have an optional Git.read_bare_status() function
that does the expensive lookup.  Then, users can optionally
call it at runtime if they really need to know whether or not
a repository is bare.  That seems like a decent tradeoff between
speed, correctness, and common use cases.

Signed-off-by: David Aguilar <davvid@gmail.com>
15 years agoAdded a with_keep_cwd option
Sverre Rabbelier [Fri, 13 Jun 2008 18:10:01 +0000 (20:10 +0200)]
Added a with_keep_cwd option

When executing commands, if the with_keep_cwd option is
specified, the current working directory will be set to
os.getcwd() instead of the directory containing the
.git directory.

15 years agoImproved the GIT_PYTHON_TRACE=full output format
Sverre Rabbelier [Fri, 13 Jun 2008 17:40:14 +0000 (19:40 +0200)]
Improved the GIT_PYTHON_TRACE=full output format

It now also shows stderr if there was any on it, and only
shows stdout if there was any output. Also added a '->'
between the command and the return value as a visual clue.

15 years agoAdded /dist to .gitignore
Sverre Rabbelier [Wed, 11 Jun 2008 17:35:45 +0000 (19:35 +0200)]
Added /dist to .gitignore

15 years agocmd: properly handle cwd for repos with work trees
David Aguilar [Thu, 12 Jun 2008 10:01:09 +0000 (03:01 -0700)]
cmd: properly handle cwd for repos with work trees

This is a fix on top of Govind's latest performance improvement.

self._cwd was always set to self._git_dir which means
a lot of commands that require work trees were not available
to GitPython.  Execute now uses self._cwd which is equal to
self._git_dir by default, and self.get_work_tree() if a work tree
exists.

Signed-off-by: David Aguilar <davvid@gmail.com>
15 years agorepo: these changes make Govind's latest changes pass the test cases
David Aguilar [Thu, 12 Jun 2008 09:57:00 +0000 (02:57 -0700)]
repo: these changes make Govind's latest changes pass the test cases

Signed-off-by: David Aguilar <davvid@gmail.com>
15 years agoDetermine git_dir and git_work_tree in python.
Govind Salinas [Sat, 7 Jun 2008 03:49:15 +0000 (22:49 -0500)]
Determine git_dir and git_work_tree in python.

Calling git to find the git_dir and work_tree is very costly.
This patch uses the same mechanisim to find the git_dir as native
git does without shelling out.

Signed-off-by: Govind Salinas <blix@sophiasuchtig.com>
15 years agostupid typo *grr*
Florian Apolloner [Wed, 11 Jun 2008 17:51:09 +0000 (19:51 +0200)]
stupid typo *grr*

15 years agoremoved to much :þ
Florian Apolloner [Wed, 11 Jun 2008 17:47:49 +0000 (19:47 +0200)]
removed to much :þ

15 years agoadded support for GIT_PYTHON_TRACE=='full', thx to SRabbelier for the suggestion
Florian Apolloner [Wed, 11 Jun 2008 15:14:26 +0000 (17:14 +0200)]
added support for GIT_PYTHON_TRACE=='full', thx to SRabbelier for the suggestion

15 years agofixed init_bare
Florian Apolloner [Wed, 11 Jun 2008 14:49:25 +0000 (16:49 +0200)]
fixed init_bare

15 years agoMerge branch 'master' of git://gitorious.org/git-python/mainline
Florian Apolloner [Sat, 7 Jun 2008 14:23:42 +0000 (16:23 +0200)]
Merge branch 'master' of git://gitorious.org/git-python/mainline

16 years agofixed up the getattr stuff
Florian Apolloner [Sat, 7 Jun 2008 09:36:57 +0000 (11:36 +0200)]
fixed up the getattr stuff

16 years agouse getattr instead of gettatribute
Florian Apolloner [Thu, 5 Jun 2008 21:47:12 +0000 (23:47 +0200)]
use getattr instead of gettatribute

16 years agochanged svn to git. This makes more sense. I tried trunk, master, edge.
Michael Trier [Mon, 2 Jun 2008 13:46:48 +0000 (09:46 -0400)]
changed svn to git. This makes more sense. I tried trunk, master, edge.

16 years agotests: removed an obsolete comment in test_it_ignores_false_kwargs
David Aguilar [Mon, 2 Jun 2008 06:04:57 +0000 (23:04 -0700)]
tests: removed an obsolete comment in test_it_ignores_false_kwargs

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agoGit: guard against passing False to git commands
David Aguilar [Sun, 1 Jun 2008 06:01:17 +0000 (23:01 -0700)]
Git: guard against passing False to git commands

git does not accept commands of the form:
git cmd --xx=False
or
git cmd -xFalse

This patch prevents transform_kwargs from producing
command lines with those values.

This adds some flexibility/syntactic sugar for callers
since they can then assume that kwargs with a False value
are not passed to git commands.

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agostyle: remove spaces around parens per PEP8
David Aguilar [Sun, 1 Jun 2008 19:52:53 +0000 (12:52 -0700)]
style: remove spaces around parens per PEP8

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agostyle: follow PEP 8 in git/cmd.py
David Aguilar [Sun, 1 Jun 2008 19:58:32 +0000 (12:58 -0700)]
style: follow PEP 8 in git/cmd.py

Keyword args shouldn't use spaces around the equals sign
per PEP 8.

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agoput version stuff back.
Michael Trier [Mon, 2 Jun 2008 01:44:29 +0000 (21:44 -0400)]
put version stuff back.

16 years agotests: add a test to ensure False is never passed to Git.execute
David Aguilar [Sun, 1 Jun 2008 06:12:43 +0000 (23:12 -0700)]
tests: add a test to ensure False is never passed to Git.execute

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agoGit: guard against passing False to git commands
David Aguilar [Sun, 1 Jun 2008 06:01:17 +0000 (23:01 -0700)]
Git: guard against passing False to git commands

git does not accept commands of the form:
git cmd --xx=False
or
git cmd -xFalse

This patch prevents transform_kwargs from producing
command lines with those values.

This adds some flexibility/syntactic sugar for callers
since they can then assume that kwargs with a False value
are not passed to git commands.

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agoforgot to remove the stuff from README.
Michael Trier [Sun, 1 Jun 2008 02:06:14 +0000 (22:06 -0400)]
forgot to remove the stuff from README.

Signed-off-by: Michael Trier <mtrier@gmail.com>
16 years agoRemoved tutorial from README and added it into new doc section.
Michael Trier [Sun, 1 Jun 2008 02:04:21 +0000 (22:04 -0400)]
Removed tutorial from README and added it into new doc section.

16 years agostupid me i shouldn't use assert() in tests
David Aguilar [Sat, 31 May 2008 23:56:20 +0000 (16:56 -0700)]
stupid me i shouldn't use assert() in tests

assert_true instead because optimized python won't see asserts.

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agofixed the buffer test.
Florian Apolloner [Sat, 31 May 2008 23:32:33 +0000 (01:32 +0200)]
fixed the buffer test.

16 years agoMerge branch 'master' of git://gitorious.org/git-python/david
Florian Apolloner [Sat, 31 May 2008 23:22:18 +0000 (01:22 +0200)]
Merge branch 'master' of git://gitorious.org/git-python/david

16 years agofixed http://gitorious.org/projects/git-python/repos/apollo13/comments#comment_105...
Florian Apolloner [Sat, 31 May 2008 23:21:17 +0000 (01:21 +0200)]
fixed  gitorious.org/projects/git-python/repos/apollo13/comments#comment_105 my mistake ;) I'll investigate this further, but I think we are on the safe side now...

16 years agotests: ensure cmd.execute can handle large output
David Aguilar [Sat, 31 May 2008 22:33:47 +0000 (15:33 -0700)]
tests: ensure cmd.execute can handle large output

This test case ensures that cmd.execute can always handle
large command outputs.  This test does so by reading a 700k
file into memory.

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agotests: allow "git version" test to pass on arbitrary git versions
David Aguilar [Sat, 31 May 2008 21:54:32 +0000 (14:54 -0700)]
tests: allow "git version" test to pass on arbitrary git versions

Sometimes people run development versions of git.
On these versions, "git version" returns, for example:

git version 1.5.4.rc2.1105.gfc5f2

The test_it_executes_git_to_shell_and_returns_result
testcase was updated to accept these versions of git.

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agoMerge branch 'master' of git://gitorious.org/git-python/david
Florian Apolloner [Sat, 31 May 2008 22:03:57 +0000 (00:03 +0200)]
Merge branch 'master' of git://gitorious.org/git-python/david

16 years agoreverted to the cleaner and safer proc.wait method instead of communicate.
Florian Apolloner [Sat, 31 May 2008 22:03:04 +0000 (00:03 +0200)]
reverted to the cleaner and safer proc.wait method instead of communicate.

16 years agotests: allow "git version" test to pass on arbitrary git versions
David Aguilar [Sat, 31 May 2008 21:54:32 +0000 (14:54 -0700)]
tests: allow "git version" test to pass on arbitrary git versions

Sometimes people run development versions of git.
On these versions, "git version" returns, for example:

git version 1.5.4.rc2.1105.gfc5f2

The test_it_executes_git_to_shell_and_returns_result
testcase was updated to accept these versions of git.

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agowhoops forgot cmd.
Michael Trier [Sat, 31 May 2008 21:55:04 +0000 (17:55 -0400)]
whoops forgot cmd.

16 years agorenamed gitter to cmd since that makes more sense. Fixed up changes doc.
Michael Trier [Sat, 31 May 2008 21:54:39 +0000 (17:54 -0400)]
renamed gitter to cmd since that makes more sense.  Fixed up changes doc.

16 years agodidn't work for git 1.5.3 ;)
Florian Apolloner [Sat, 31 May 2008 21:46:46 +0000 (23:46 +0200)]
didn't work for git 1.5.3 ;)

16 years agofixed last failing test, hopefully this works for all git versions...
Florian Apolloner [Sat, 31 May 2008 16:29:51 +0000 (18:29 +0200)]
fixed last failing test, hopefully this works for all git versions...

16 years agoreplaced another git_python with git
Florian Apolloner [Sat, 31 May 2008 16:25:02 +0000 (18:25 +0200)]
replaced another git_python with git

16 years agocouple fixes to setup
Michael Trier [Sat, 31 May 2008 01:20:19 +0000 (21:20 -0400)]
couple fixes to setup

16 years agoadded in changes to this release
Michael Trier [Sat, 31 May 2008 01:13:03 +0000 (21:13 -0400)]
added in changes to this release
.

16 years agorenamed git_python to git. Removed pop_key and replaced with dict.pop. Fixed up tests...
Michael Trier [Sat, 31 May 2008 01:01:44 +0000 (21:01 -0400)]
renamed git_python to git. Removed pop_key and replaced with dict.pop. Fixed up tests so they pass except for stderr test. Modified version information retrieval.

16 years agotests: keep temporary repos underneath test/repos
David Aguilar [Fri, 30 May 2008 01:30:53 +0000 (18:30 -0700)]
tests: keep temporary repos underneath test/repos

test_repo.py was creating directories in the literal
test/~/foo/... directory.

This commit replaces "~" with "repos".

Some minor whitespace issues were cleaned up as well.

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agogitignore: add ignores for common emacs and vim temporary files
David Aguilar [Fri, 30 May 2008 00:54:35 +0000 (17:54 -0700)]
gitignore: add ignores for common emacs and vim temporary files

vim saves temporary data in $FILENAME.swp.
emacs saves backups in $FILENAME~.

.gitignore now ignores all of these entries.

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agogit.py: make git_dir an optional parameter
David Aguilar [Fri, 30 May 2008 00:53:30 +0000 (17:53 -0700)]
git.py: make git_dir an optional parameter

git_dir is now optional in the constructor for git.Git.
Git now falls back to os.getcwd() when git_dir is not specified.

Furthermore, extra checks were added so that the git_dir
variable always points to the root of the worktree for
non-bare repositories.

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agotests: add utils.pop_key() testcases
David Aguilar [Fri, 30 May 2008 00:48:49 +0000 (17:48 -0700)]
tests: add utils.pop_key() testcases

This commit cleans up some unused variables in test_utils.py
and adds some testcases for utils.pop_key().

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agogit_python: add utils.pop_key to __init__.py
David Aguilar [Fri, 30 May 2008 00:47:53 +0000 (17:47 -0700)]
git_python: add utils.pop_key to __init__.py

This keeps the interface consistent by importing
utils.pop_key into the git_python namespace.

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agotests: add a test for the new with_raw_output mechanism
David Aguilar [Thu, 29 May 2008 09:19:18 +0000 (02:19 -0700)]
tests: add a test for the new with_raw_output mechanism

This test ensures that trailing whitespace is preserved
when git.foo( with_raw_output=True ) is called, and vice
versa.

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agogit.py: always strip trailing whitespace and add an option to not do so
David Aguilar [Thu, 29 May 2008 09:18:28 +0000 (02:18 -0700)]
git.py: always strip trailing whitespace and add an option to not do so

We now strip off any trailing whitespace.
We inhibit this behavior when git.foo( with_raw_output=True )
is called.

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agotests: add a test for the new with_stderr mechanism
David Aguilar [Thu, 29 May 2008 09:17:13 +0000 (02:17 -0700)]
tests: add a test for the new with_stderr mechanism

This test ensures that stderr is merged into stdout when
git.foo( with_stderr=True ) is called.

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agogit.py: add support for merging stderr into stdout
David Aguilar [Thu, 29 May 2008 09:16:28 +0000 (02:16 -0700)]
git.py: add support for merging stderr into stdout

When git.foo( with_stderr=True ) is called, stderr is returned
along with stdout in a merged stream.

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agotests: add a test for git.foo( with_exceptions=True )
David Aguilar [Thu, 29 May 2008 09:14:25 +0000 (02:14 -0700)]
tests: add a test for git.foo( with_exceptions=True )

This test ensures that a GitCommandError is raised when git
returns a non-zero exit status.

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agogit.py: add a with_exceptions keyword argument
David Aguilar [Thu, 29 May 2008 09:13:27 +0000 (02:13 -0700)]
git.py: add a with_exceptions keyword argument

When git.foo( with_exceptions=True ) is called a
GitCommandError is raised when the exit status is non-zero.

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agoerrors: add a GitCommandError class
David Aguilar [Thu, 29 May 2008 09:11:40 +0000 (02:11 -0700)]
errors: add a GitCommandError class

The next commit will raise GitCommandError when a flag is
passed to method_missing and the exit status is non-zero.

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agotests: add a git.foo( with_status=True ) testcase
David Aguilar [Thu, 29 May 2008 09:09:28 +0000 (02:09 -0700)]
tests: add a git.foo( with_status=True ) testcase

test_git.py now tests the new git.foo( with_status=True )
mechanism.

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agogit.py: add support for git.foo( with_status=True )
David Aguilar [Thu, 29 May 2008 09:07:41 +0000 (02:07 -0700)]
git.py: add support for git.foo( with_status=True )

Passing with_status to an arbitrary git command causes execute
to return (status_code, output) instead of the typical
returned output.

This is useful when callers need access to the exit status code.

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agotests: add a test for git.foo( istream=fh )
David Aguilar [Thu, 29 May 2008 09:03:18 +0000 (02:03 -0700)]
tests: add a test for git.foo( istream=fh )

This test runs the equivalent of:

"git hash-object < fixtures/cat_file_blob"

with the new istream mechanism and compares the computed hash.

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agogit.py: add support for passing in a stdin input stream
David Aguilar [Thu, 29 May 2008 08:59:38 +0000 (01:59 -0700)]
git.py: add support for passing in a stdin input stream

execute/method_missing now support:

fh = open('filename', 'r')
print git.foo( istream=fh )
fh.close()

The name "istream" was chosen so that it would not conflict
with any of the builtin git flags.  "stdin", for instance,
is used by git.

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agogit.py: always use "git foo" and never "git-foo"
David Aguilar [Thu, 29 May 2008 08:55:21 +0000 (01:55 -0700)]
git.py: always use "git foo" and never "git-foo"

gitsters on the git mailing list have been slowly deprecating
the usage of "git-foo" commands.  The preferred invocation
is "git foo".

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agoutils: add a pop_key helper function
David Aguilar [Thu, 29 May 2008 08:50:55 +0000 (01:50 -0700)]
utils: add a pop_key helper function

pop_key removes a value from a dictionary and it in one step.
This function will be used in the next integration.

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agogit.py: add support for a GIT_PYTHON_TRACE environment variable
David Aguilar [Thu, 29 May 2008 04:50:11 +0000 (21:50 -0700)]
git.py: add support for a GIT_PYTHON_TRACE environment variable

GIT_PYTHON_TRACE allows us to debug GitPython's usage of
git through the use of an environment variable.

This is preferred over a hard-coded print statement.

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agotests: update test_git.py to use the new single-character flag style
David Aguilar [Thu, 29 May 2008 04:32:32 +0000 (21:32 -0700)]
tests: update test_git.py to use the new single-character flag style

The previous commit changed the way transform_kwargs handles
single-character flags with arguments.  This commit updates the
testcase accordingly.

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agogit.py: properly handle single-character flags with arguments
David Aguilar [Thu, 29 May 2008 04:28:15 +0000 (21:28 -0700)]
git.py: properly handle single-character flags with arguments

"git diff -U5" is correct while "git diff -U 5" is not.
ditto for "git log -U5", "git commit -F/some/path", etc.

The original version of transform_kwargs was setting up the
command line arguments such that single-character flags with
arguments were not understood by git.

This changes transform_kwargs so that the flag and argument
are both part of the same string for single-character flags.

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agogitignore: ignore eggs, .pyo's and /build
David Aguilar [Thu, 29 May 2008 04:25:15 +0000 (21:25 -0700)]
gitignore: ignore eggs, .pyo's and /build

This commit sets up .gitignore so that it properly ignores both
.pyo and .pyc files.

The egg path was updated so that it is prepended with a "/".

"/build" was added to the list of ignored paths since it is
customary for setuptools to use that directory for builds.

Signed-off-by: David Aguilar <davvid@gmail.com>
16 years agoMerge git://gitorious.org/git-python/apollo13
Michael Trier [Mon, 26 May 2008 14:51:07 +0000 (10:51 -0400)]
Merge git://gitorious.org/git-python/apollo13

16 years agoFixed up problem where name doesn't exist on root of tree.
Michael Trier [Mon, 26 May 2008 02:19:13 +0000 (22:19 -0400)]
Fixed up problem where name doesn't exist on root of tree.

16 years agoremoved stupid print
Florian Apolloner [Thu, 22 May 2008 21:12:48 +0000 (23:12 +0200)]
removed stupid print

16 years agouse ~/foo instead of /foo for repo.
Florian Apolloner [Thu, 22 May 2008 20:11:22 +0000 (22:11 +0200)]
use ~/foo instead of /foo for repo.

16 years agofixed errors in the test, two permission errors remaining, thx to mock?!?!
Florian Apolloner [Wed, 21 May 2008 17:39:55 +0000 (19:39 +0200)]
fixed errors in the test, two permission errors remaining, thx to mock?!?!
Also removed the shell_escape tests...

16 years agoremoved some unused stuff
Florian Apolloner [Tue, 20 May 2008 21:43:56 +0000 (23:43 +0200)]
removed some unused stuff

16 years agomade subprocess not use a shell...
Florian Apolloner [Tue, 20 May 2008 21:26:06 +0000 (23:26 +0200)]
made subprocess not use a shell...

16 years agoremoved some more spaces
Florian Apolloner [Tue, 20 May 2008 20:27:42 +0000 (22:27 +0200)]
removed some more spaces

16 years agofixed incorrect test import
Michael Trier [Tue, 20 May 2008 15:33:08 +0000 (11:33 -0400)]
fixed incorrect test import

16 years agoadded /me as author
Florian Apolloner [Tue, 20 May 2008 14:49:48 +0000 (16:49 +0200)]
added /me as author

16 years agoremoved unneeded spaces
Florian Apolloner [Tue, 20 May 2008 13:56:38 +0000 (15:56 +0200)]
removed unneeded spaces

16 years agoadded .gitignore to ignore *.pyc files and the egg-info stuff.
Florian Apolloner [Tue, 20 May 2008 13:48:12 +0000 (15:48 +0200)]
added .gitignore to ignore *.pyc files and the egg-info stuff.

16 years agoMissing os import. Thanks apollo13.
Michael Trier [Tue, 20 May 2008 13:10:39 +0000 (09:10 -0400)]
Missing os import.  Thanks apollo13.

16 years agoadded in note about how to handle date time information. Fixed up repo tests for...
Michael Trier [Sun, 18 May 2008 20:56:55 +0000 (16:56 -0400)]
added in note about how to handle date time information.  Fixed up repo tests for the removal of the shared option.

16 years agolots of little fixes. Corrected problem with creating bare repo. Added Repo.create...
Michael Trier [Sun, 18 May 2008 14:55:31 +0000 (10:55 -0400)]
lots of little fixes.  Corrected problem with creating bare repo.  Added Repo.create alias.

16 years agoCorrected problem with tree.__len__ getting confused with zero length files. Thanks...
Michael Trier [Sat, 17 May 2008 17:06:57 +0000 (13:06 -0400)]
Corrected problem with tree.__len__ getting confused with zero length files. Thanks Alan Briolat.

16 years agoForgot to add Mock to the requirements.
Michael Trier [Thu, 8 May 2008 04:51:07 +0000 (00:51 -0400)]
Forgot to add Mock to the requirements.

16 years agoFixed up rspec comments that are passing.
Michael Trier [Thu, 8 May 2008 04:45:40 +0000 (00:45 -0400)]
Fixed up rspec comments that are passing.

16 years agough, the editing never ends.
Michael Trier [Thu, 8 May 2008 04:40:34 +0000 (00:40 -0400)]
ugh, the editing never ends.

16 years agoApparently I'm a moron
Michael Trier [Thu, 8 May 2008 03:42:03 +0000 (23:42 -0400)]
Apparently I'm a moron

16 years agoMore small changes to tests. Commented out tests not passing because of inability...
Michael Trier [Thu, 8 May 2008 03:29:13 +0000 (23:29 -0400)]
More small changes to tests. Commented out tests not passing because of inability to figure out mocking for them.

16 years agoMoved test stuff around and modified imports to just clean things up a bit.
Michael Trier [Thu, 8 May 2008 02:37:17 +0000 (22:37 -0400)]
Moved test stuff around and modified imports to just clean things up a bit.

16 years agocleaned up a bunch of imports for the tests.
Michael Trier [Thu, 8 May 2008 00:56:26 +0000 (20:56 -0400)]
cleaned up a bunch of imports for the tests.

16 years agojust more documentation fixes.
Michael Trier [Thu, 8 May 2008 00:47:35 +0000 (20:47 -0400)]
just more documentation fixes.

16 years agoslight modifications to docs.
Michael Trier [Wed, 7 May 2008 20:57:19 +0000 (16:57 -0400)]
slight modifications to docs.

16 years agoinitial project
Michael Trier [Wed, 7 May 2008 20:49:48 +0000 (16:49 -0400)]
initial project