[darcs-users] Announce. vng: darcs-UI on git
Miklos Vajna
vmiklos at frugalware.org
Sun Mar 30 20:20:04 UTC 2008
On Sun, Mar 30, 2008 at 06:52:27PM +0200, Thomas Zander <zander at kde.org> wrote:
> This is a project that uses qmake; a cross platform automake-like system. All
> you need to do is call 'qmake' which will generate a Makefile
> specifically
> for you.
> I just wrote and added a README. Thanks for the heads up!
thank you for the quick response.
> this seems to just be a very very thin wrapper that still shows git output
> plus error messages and uses names like 'commit' and 'checkout' instead
> of 'record' and 'revert'.
> Vng intends to feel like darcs, using all the user research and experience
> that went into creating darcs.
yes, a different level. though, if you want to completely emulate darcs,
there are a few tricks missing :)
$ echo foo >foo
$ ./vng add foo
$ ./vng rec
hunk Initialize.h 34
+bar
Shall I record this change? (1/?) [ynsfqadjkc], or ? for help: c
Shall I record this change? (1/3) [ynsfqadjk], or ? for help: y
add `foo'
Shall I record this change? (2/3) [ynsfqadjk], or ? for help: n
hunk foo 1
+foo
Shall I record this change? (3/3) [ynsfqadjk], or ? for help: n
What is the patch name? foo
Finished recording patch `foo'
1) darcs does not ask for a hunk in a new file if you say no for the
addition
2) it seems even if i say no, the created commit contains the new file:
3) it does not ask if i want to add a long comment
> Git (the database) does not allow you to alter the chain of commits without
> making a new commit. Which is the reason you are not seeing it in such tools.
it does, using git rebase :)
just it requires extra work and we at frugalware did not need such a
feature.
for example:
echo foo > foo.c
git add foo.c
git commit -m A
echo bar > bar.c
git add bar.c
git commit -m B
now, in case you just want to push B, but A:
git checkout -b tmp HEAD~2
git cherry-pick <sha1 of B>
git push
git checkout master
git branch -D tmp
git rebase origin
ah, and do you plan to implement vng changes?
i'm a bit sad that you depend on 20mb of lib runtime just to run a
wrapper program, but i don't want to flame :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20080330/9714d740/attachment.pgp
More information about the darcs-users
mailing list