vng:vng.git
7 years agoDisplay the show and the branches commands in the default help
Thomas Zander [Mon, 8 Mar 2010 21:40:49 +0000 (22:40 +0100)]
Display the show and the branches commands in the default help

7 years agoRemove the last parts of the edit mode I removed ages ago
Thomas Zander [Mon, 8 Mar 2010 21:31:15 +0000 (22:31 +0100)]
Remove the last parts of the edit mode I removed ages ago

7 years agoCopy something from git for a change, show stats at bottom of commit
Thomas Zander [Mon, 8 Mar 2010 21:28:12 +0000 (22:28 +0100)]
Copy something from git for a change, show stats at bottom of commit

7 years agoMake changes and show print more logical on -v / -s / -u
Thomas Zander [Mon, 8 Mar 2010 20:54:10 +0000 (21:54 +0100)]
Make changes and show print more logical on -v / -s / -u

7 years agoUsing the name will properly update the remotes sha1s
Thomas Zander [Sat, 6 Mar 2010 17:33:47 +0000 (18:33 +0100)]
Using the name will properly update the remotes sha1s

7 years agoRemove already implemented TODO
Thomas Zander [Sat, 6 Mar 2010 17:20:53 +0000 (18:20 +0100)]
Remove already implemented TODO

7 years agoCleanup changes output slightly; don't duplicate info
Thomas Zander [Sat, 6 Mar 2010 09:45:29 +0000 (10:45 +0100)]
Cleanup changes output slightly; don't duplicate info

7 years agoFix typo
Thomas Zander [Sat, 6 Mar 2010 09:45:10 +0000 (10:45 +0100)]
Fix typo

7 years agodone ;)
Thomas Zander [Fri, 5 Mar 2010 20:53:00 +0000 (21:53 +0100)]
done ;)

7 years agoAdd 'show' command
Thomas Zander [Fri, 5 Mar 2010 18:14:30 +0000 (19:14 +0100)]
Add 'show' command

7 years agoSlight update of todos
Thomas Zander [Fri, 5 Mar 2010 17:49:44 +0000 (18:49 +0100)]
Slight update of todos

7 years agoMake 'vng diff myDir' work like you expect
Thomas Zander [Fri, 5 Mar 2010 17:30:22 +0000 (18:30 +0100)]
Make 'vng diff myDir' work like you expect

7 years agonew version
Thomas Zander [Fri, 5 Mar 2010 17:09:40 +0000 (18:09 +0100)]
new version

7 years agoAdd some API docs
Thomas Zander [Fri, 5 Mar 2010 16:38:47 +0000 (17:38 +0100)]
Add some API docs

7 years agoAdd 'unified' printing feature to Changes
Thomas Zander [Fri, 5 Mar 2010 16:54:53 +0000 (17:54 +0100)]
Add 'unified' printing feature to Changes

7 years agoFix command line parser reporting wrong options
Thomas Zander [Fri, 5 Mar 2010 15:21:12 +0000 (16:21 +0100)]
Fix command line parser reporting wrong options

7 years agoWhy would we even want to timeout a disc operation?
Thomas Zander [Fri, 5 Mar 2010 15:04:59 +0000 (16:04 +0100)]
Why would we even want to timeout a disc operation?

7 years agoMerge commit 'cec612c8a02d7d0731280475e55fe6887682557c'
Thomas Zander [Mon, 18 Jan 2010 09:10:24 +0000 (10:10 +0100)]
Merge commit 'cec612c8a02d7d0731280475e55fe6887682557c'

7 years agoFix branch identification for repos with symlinks
Thomas Zander [Sat, 16 Jan 2010 10:18:03 +0000 (11:18 +0100)]
Fix branch identification for repos with symlinks

7 years agoMake push show the git error if it failed
Thomas Zander [Tue, 5 Jan 2010 13:27:22 +0000 (14:27 +0100)]
Make push show the git error if it failed

7 years agoExtend timeout
Thomas Zander [Sun, 13 Dec 2009 14:53:43 +0000 (15:53 +0100)]
Extend timeout

7 years agoAvoid QProcess warnings about exiting while process is still running
Thomas Zander [Fri, 11 Dec 2009 19:12:30 +0000 (20:12 +0100)]
Avoid QProcess warnings about exiting while process is still running

7 years agoMany fixes in Add
Thomas Zander [Sun, 6 Dec 2009 23:22:26 +0000 (00:22 +0100)]
Many fixes in Add

Add can now store symlinks too.
Add skips adding git repositories
Add Correctly handles error messages propagating up the stack. For example 'disc full'.
Add now handles hidden dirs+files properly

7 years agoAdd hidden files too
Thomas Zander [Sun, 6 Dec 2009 21:52:58 +0000 (22:52 +0100)]
Add hidden files too

7 years agoThis one was done
Thomas Zander [Sun, 6 Dec 2009 11:43:07 +0000 (12:43 +0100)]
This one was done

7 years agoDon't ask user to select branches if there is only one
Thomas Zander [Sun, 22 Nov 2009 15:08:01 +0000 (16:08 +0100)]
Don't ask user to select branches if there is only one

7 years agoDon't pull branches that already are up-to-date
Thomas Zander [Sun, 22 Nov 2009 15:05:28 +0000 (16:05 +0100)]
Don't pull branches that already are up-to-date

7 years agoMake Commit destroctor virtual since Branch inherits from it.
Thomas Zander [Sun, 22 Nov 2009 11:24:40 +0000 (12:24 +0100)]
Make Commit destroctor virtual since Branch inherits from it.

7 years agoDon't push when already up-to-date
Thomas Zander [Sun, 22 Nov 2009 11:24:12 +0000 (12:24 +0100)]
Don't push when already up-to-date

7 years agoUsability fixes
Thomas Zander [Sun, 22 Nov 2009 10:58:07 +0000 (11:58 +0100)]
Usability fixes

7 years agoRestore push functionality
Thomas Zander [Sun, 22 Nov 2009 10:57:51 +0000 (11:57 +0100)]
Restore push functionality

7 years agoFind all interesting branches.
Thomas Zander [Fri, 20 Nov 2009 14:54:35 +0000 (15:54 +0100)]
Find all interesting branches.

7 years agoMove more code from Pull into Configuration
Thomas Zander [Fri, 20 Nov 2009 12:44:49 +0000 (13:44 +0100)]
Move more code from Pull into Configuration

7 years agoMove AbstractCommand::ReturnCodes to the Vng namespace
Thomas Zander [Fri, 20 Nov 2009 12:21:21 +0000 (13:21 +0100)]
Move AbstractCommand::ReturnCodes to the Vng namespace

It was used outside of the commands too much, so it makes
much more sense to keep it in the Vng namespace.

7 years agoRefactor; move some code from Pull to RemoteRepo
Thomas Zander [Fri, 20 Nov 2009 11:20:14 +0000 (12:20 +0100)]
Refactor; move some code from Pull to RemoteRepo

7 years agoadd some todos
Thomas Zander [Wed, 18 Nov 2009 22:21:06 +0000 (23:21 +0100)]
add some todos

7 years agoSome fixes in 'Pull'.
Thomas Zander [Wed, 18 Nov 2009 21:00:46 +0000 (22:00 +0100)]
Some fixes in 'Pull'.

* Make pulling correctly detect the remote so we don't merge the wrong branch
* Don't show new tags unless we ask for all
* Change the UI to show 'current' instead of 'branch' when we detect we are on a branch.

7 years agoFix mixup of remote/local names and make tracking branch detection work
Thomas Zander [Wed, 18 Nov 2009 11:37:30 +0000 (12:37 +0100)]
Fix mixup of remote/local names and make tracking branch detection work

7 years agoadd todo
Thomas Zander [Mon, 26 Oct 2009 19:55:17 +0000 (20:55 +0100)]
add todo

I noted that when pulling I get asked to update branches which
I already updated and no change was on the server, this todo
will avoid that.

7 years agoFilter out tag names ending in ^{}
Thomas Zander [Mon, 26 Oct 2009 19:31:06 +0000 (20:31 +0100)]
Filter out tag names ending in ^{}

This seems to be an undocumented 'feature' of ls-remote to indicate
the commit a tag is about vs the tag commit itself.
We currently don't use this info, so just ignore them.

7 years agoMake the timeout option actually do something
Thomas Zander [Mon, 26 Oct 2009 19:29:24 +0000 (20:29 +0100)]
Make the timeout option actually do something

7 years agoFix behavior of pull for new stuff
Thomas Zander [Mon, 26 Oct 2009 18:39:25 +0000 (19:39 +0100)]
Fix behavior of pull for new stuff

Downloading and registring new branches and tags was being
done incorrectly, I changed the logic to actually download stuff, to
only create new branches if they are represented in the local DB and
to handle tags different from branches so the local DB doesn't get
buggy.
Also changed the default to ignore new branches/tags and only download
them when the user passes '--list-new-branches'

7 years agoFix typo
Thomas Zander [Sat, 24 Oct 2009 18:26:11 +0000 (20:26 +0200)]
Fix typo

8 years agofix error message
Thomas Zander [Thu, 22 Oct 2009 10:01:45 +0000 (12:01 +0200)]
fix error message

8 years agoMake commit doing a 'git-cat-file' become lazy.
Thomas Zander [Wed, 21 Oct 2009 22:26:03 +0000 (00:26 +0200)]
Make commit doing a 'git-cat-file' become lazy.

8 years agoMake 'branches' display the tracking branch too
Thomas Zander [Wed, 21 Oct 2009 21:59:14 +0000 (23:59 +0200)]
Make 'branches' display the tracking branch too

8 years agoRewrite fetchBranch to work on shallow repos
Thomas Zander [Wed, 21 Oct 2009 21:49:49 +0000 (23:49 +0200)]
Rewrite fetchBranch to work on shallow repos

for some reason git-ls-remote doesn't work on shallow repos, sounds like
a design issue in git. *shrug*.  I'll just parse the refs subdir myself
and show that.

8 years agomove private to cpp file
Thomas Zander [Mon, 19 Oct 2009 14:30:25 +0000 (16:30 +0200)]
move private to cpp file

8 years agomove private to cpp file
Thomas Zander [Mon, 19 Oct 2009 14:28:55 +0000 (16:28 +0200)]
move private to cpp file

8 years agocoding style fix, space after foreach to make it consistently used as a keyword
Thomas Zander [Sun, 18 Oct 2009 18:41:47 +0000 (20:41 +0200)]
coding style fix, space after foreach to make it consistently used as a keyword

8 years agoAdd support for replacement urls in git config
Thomas Zander [Tue, 13 Oct 2009 12:35:11 +0000 (14:35 +0200)]
Add support for replacement urls in git config

8 years agoALways write the new remotes, even if they are not fetched
Thomas Zander [Tue, 13 Oct 2009 11:31:20 +0000 (13:31 +0200)]
ALways write the new remotes, even if they are not fetched

8 years agoDon't crash on skipping a branch
Thomas Zander [Tue, 13 Oct 2009 11:23:38 +0000 (13:23 +0200)]
Don't crash on skipping a branch

8 years agoDon't link to QtGui, not needed and lots less to link to (faster!)
Thomas Zander [Tue, 13 Oct 2009 11:17:18 +0000 (13:17 +0200)]
Don't link to QtGui, not needed and lots less to link to (faster!)

8 years agocleanup
Thomas Zander [Mon, 28 Sep 2009 14:53:27 +0000 (16:53 +0200)]
cleanup

8 years agoWork around bug in less' feature of auto-exit not working sometimes.
Thomas Zander [Thu, 10 Sep 2009 12:30:15 +0000 (14:30 +0200)]
Work around bug in less' feature of auto-exit not working sometimes.

8 years agoCompare sha1s before asking for a pack to see if we actually need it
Thomas Zander [Wed, 2 Sep 2009 21:03:51 +0000 (23:03 +0200)]
Compare sha1s before asking for a pack to see if we actually need it

8 years agoMake detection of empty repo also work after a git gc
Thomas Zander [Tue, 1 Sep 2009 19:33:51 +0000 (21:33 +0200)]
Make detection of empty repo also work after a git gc

8 years agoProperly print the end-of-line-has-space warnings
Thomas Zander [Mon, 10 Aug 2009 11:10:02 +0000 (13:10 +0200)]
Properly print the end-of-line-has-space warnings

8 years agoImmensely speed up 'vng changes'
Thomas Zander [Thu, 30 Jul 2009 19:14:05 +0000 (22:14 +0300)]
Immensely speed up 'vng changes'

When we are sure we have the correct treeism, set it.  This
saves us an extra show-ref later.

8 years agoset usage of the pager properly
Thomas Zander [Sat, 25 Jul 2009 05:30:33 +0000 (08:30 +0300)]
set usage of the pager properly

8 years agoDon't show bisect branches in 'vng branch'
Thomas Zander [Fri, 24 Jul 2009 06:25:42 +0000 (09:25 +0300)]
Don't show bisect branches in 'vng branch'

8 years agobump version
Thomas Zander [Thu, 23 Jul 2009 18:44:15 +0000 (21:44 +0300)]
bump version

8 years agoMake reverting/unreverting a binary file work.
Thomas Zander [Thu, 23 Jul 2009 18:43:04 +0000 (21:43 +0300)]
Make reverting/unreverting a binary file work.

Make writing out a patch for a binary file work partly.
It now writes a header with all the sha1s etc, but not the file data.
At least for a revert (i.e. git apply) this is enough :)

8 years agoFix creating a diff for a deleted file.
Thomas Zander [Thu, 23 Jul 2009 18:38:12 +0000 (21:38 +0300)]
Fix creating a diff for a deleted file.

8 years agoFix writing renames to only happen on rename.
Thomas Zander [Thu, 23 Jul 2009 18:30:48 +0000 (21:30 +0300)]
Fix writing renames to only happen on rename.

8 years agonoticed bug
Thomas Zander [Thu, 23 Jul 2009 06:24:03 +0000 (09:24 +0300)]
noticed bug

8 years agoMake sure we don't ignore hidden files.
Thomas Zander [Tue, 21 Jul 2009 12:30:20 +0000 (15:30 +0300)]
Make sure we don't ignore hidden files.

8 years agoFix detecting of binary file status for new files
Thomas Zander [Wed, 22 Jul 2009 19:32:42 +0000 (22:32 +0300)]
Fix detecting of binary file status for new files

8 years agoRefactor the diff-parser to be a state machine to allow me to fix
Thomas Zander [Wed, 22 Jul 2009 18:18:44 +0000 (21:18 +0300)]
Refactor the diff-parser to be a state machine to allow me to fix
fringe cases
Unit test passes again..

8 years agoVarious fixes for revert/unrevert
Thomas Zander [Wed, 22 Jul 2009 17:43:23 +0000 (20:43 +0300)]
Various fixes for revert/unrevert

8 years agoFix reading a diff in 'whatsnew'
Thomas Zander [Wed, 22 Jul 2009 16:40:05 +0000 (19:40 +0300)]
Fix reading a diff in 'whatsnew'

8 years agoUpdate readGitDiff to work for rename and move patches
Thomas Zander [Wed, 22 Jul 2009 16:22:16 +0000 (19:22 +0300)]
Update readGitDiff to work for rename and move patches

8 years agoAdd test that fails to make the parsing of a diff more robust
Thomas Zander [Mon, 20 Jul 2009 21:47:02 +0000 (00:47 +0300)]
Add test that fails to make the parsing of a diff more robust

8 years agoMake 'revert' clean up after itself correctly in case of added/renamed files.
Thomas Zander [Mon, 20 Jul 2009 20:40:33 +0000 (23:40 +0300)]
Make 'revert' clean up after itself correctly in case of added/renamed files.

8 years agoFix writing out patches for
Thomas Zander [Mon, 20 Jul 2009 20:39:16 +0000 (23:39 +0300)]
Fix writing out patches for
* renamed files
* deleted files
* added files

8 years agostring fixes
Thomas Zander [Mon, 20 Jul 2009 17:26:37 +0000 (20:26 +0300)]
string fixes

8 years agoExtend 'pull' to also ask which of the remote branches to fetch. This allows the
Thomas Zander [Sun, 19 Jul 2009 21:28:46 +0000 (00:28 +0300)]
Extend 'pull' to also ask which of the remote branches to fetch. This allows the
user to minimize the download for now.
In future I want to be able to make it easier to not only detect a new remote
branch but immediately let the user create one locally that tracks the upstream one.

8 years agoMake partial records work again, we fixed it for > 450 but broke it for
Thomas Zander [Thu, 16 Jul 2009 19:31:59 +0000 (22:31 +0300)]
Make partial records work again, we fixed it for > 450 but broke it for
newer ones.  This fixes both :/

8 years agoFix issue where the cursor kept asking for input even though we answered the last...
Thomas Zander [Thu, 16 Jul 2009 19:31:07 +0000 (22:31 +0300)]
Fix issue where the cursor kept asking for input even though we answered the last question

8 years agoFix method name
Thomas Zander [Wed, 15 Jul 2009 14:43:25 +0000 (16:43 +0200)]
Fix method name

8 years agoBetter error reporting.
Thomas Zander [Wed, 15 Jul 2009 13:23:55 +0000 (15:23 +0200)]
Better error reporting.

8 years agoFix bug that a remote repo was suggested to the user twice
Thomas Zander [Sun, 21 Jun 2009 22:03:31 +0000 (01:03 +0300)]
Fix bug that a remote repo was suggested to the user twice

When the vng settings list a repo url, make sure its not already
provided in the git remotes

8 years agoAuto store the repos when the user passes them as arguments
Thomas Zander [Sun, 21 Jun 2009 21:07:17 +0000 (00:07 +0300)]
Auto store the repos when the user passes them as arguments

8 years agoAdd Configuration::addRepo methd to manage repositories on git config
Thomas Zander [Sun, 21 Jun 2009 21:51:07 +0000 (00:51 +0300)]
Add Configuration::addRepo methd to manage repositories on git config

8 years agoUpgrade push to also be able to select remote repositories via the cursor
Thomas Zander [Sat, 20 Jun 2009 23:19:28 +0000 (01:19 +0200)]
Upgrade push to also be able to select remote repositories via the cursor

8 years agoPlenty of fixes inthe GenericCursor and add the feature to select repository
Thomas Zander [Sat, 20 Jun 2009 23:01:52 +0000 (01:01 +0200)]
Plenty of fixes inthe GenericCursor and add the feature to select repository
where to pull from.

8 years agoProvide a little less blueprint.
Thomas Zander [Sat, 20 Jun 2009 22:31:58 +0000 (00:31 +0200)]
Provide a little less blueprint.

8 years agoChange the way we store vng (default) repos in the config file.
Thomas Zander [Sat, 20 Jun 2009 22:18:09 +0000 (00:18 +0200)]
Change the way we store vng (default) repos in the config file.

8 years agoAdd a class 'GenericCursor'
Thomas Zander [Sat, 20 Jun 2009 21:50:36 +0000 (23:50 +0200)]
Add a class 'GenericCursor'

8 years agoFix constness on isValid()
Thomas Zander [Sat, 20 Jun 2009 18:44:46 +0000 (20:44 +0200)]
Fix constness on isValid()
Fix pull to use the indirection of the git config when matching
remote and local branch names

8 years agofollow coding style in curly-braces placment
Thomas Zander [Sat, 20 Jun 2009 16:20:50 +0000 (18:20 +0200)]
follow coding style in curly-braces placment

8 years agoFix copy-pasted include-name
Thomas Zander [Sat, 20 Jun 2009 13:47:02 +0000 (15:47 +0200)]
Fix copy-pasted include-name

8 years agoremove the 'pull' todo since we started that command
Thomas Zander [Sat, 20 Jun 2009 13:44:54 +0000 (15:44 +0200)]
remove the 'pull' todo since we started that command

8 years agoAdd feature to fetch remotes&branches from git config and add pull command
Thomas Zander [Sat, 20 Jun 2009 09:46:11 +0000 (11:46 +0200)]
Add feature to fetch remotes&branches from git config and add pull command

8 years agoRead which branch it is we are using right now
Thomas Zander [Fri, 19 Jun 2009 08:37:32 +0000 (10:37 +0200)]
Read which branch it is we are using right now

8 years agoAdd api docs
Thomas Zander [Fri, 19 Jun 2009 09:01:40 +0000 (11:01 +0200)]
Add api docs

8 years agoFix typo
Thomas Zander [Wed, 17 Jun 2009 20:52:17 +0000 (22:52 +0200)]
Fix typo

8 years agoRemove obsolete part of the readme
Thomas Zander [Wed, 17 Jun 2009 20:46:27 +0000 (22:46 +0200)]
Remove obsolete part of the readme

8 years agoFix diff to now show an invert diff when passing --last kind of parameter.
Thomas Zander [Wed, 17 Jun 2009 09:20:32 +0000 (11:20 +0200)]
Fix diff to now show an invert diff when passing --last kind of parameter.