thierry.volpiatto | 1 Mar 2009 14:20
Face
Picon
Gravatar

xgit usage

Hi every one,
for some reasons, i have to use git.
I am not used to it, i use normally hg.

I didn't find any command to push my changes to a git remote repository.

I wonder which commands DVC/git users use to achieve that?

It seem that it miss a lot of features in xgit and it's integration with
other DVC interfaces (dvc-bookmarks, log ...etc...).

Can somebody send here a list of what is missing to be comfortable with
git in DVC?

--

-- 
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France
Samuel Bronson | 1 Mar 2009 21:39
Picon
Gravatar

[BUG] bzr: progress bar junk in output buffers


When I do a commit or a pull, junk related to progress reporting shows
up in the output buffers. I think this could be disabled by setting
BZR_PROGRESS_BAR="none" in the environment ?

See http://doc.bazaar-vcs.org/bzr.dev/en/user-reference/bzr_man.html#configuration-settings

Emacs  : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11)
 of 2008-11-09 on raven, modified by Debian
Package: Dvc 0

current state:
==============
(setq
 emacs-version "22.2.1"
 dvc-version "0"
 dvc-command-version "Bazaar (bzr) 1.12"
 baz-executable "baz"
 bzr-mail-notification-destination nil
 bzr-pull-done-hook nil
 bzr-work-offline 'prompt
 tla-apply-patch-mapping nil
 tla-arch-branch 'none
 tla-archive-list-mode-hook nil
 tla-bookmarks-cleanup-dont-prompt nil
 tla-bookmarks-file-name "bookmarks.el"
 tla-bookmarks-mode-hook nil
 tla-branch-list-mode-hook nil
 tla-button-revision-fn 'tla-revlog-any
 tla-category-list-mode-hook nil
(Continue reading)

Vincent Ladeuil | 1 Mar 2009 22:14
Picon
Favicon

Re: [BUG] bzr: progress bar junk in output buffers

>>>>> "SB" == Samuel Bronson <naesten <at> gmail.com> writes:

    SB> When I do a commit or a pull, junk related to progress reporting shows
    SB> up in the output buffers. I think this could be disabled by setting
    SB> BZR_PROGRESS_BAR="none" in the environment ?

I have the following in my .bashrc:

# If we are inside an emacs shell, tell bzr it can use a text UI
# an a tty progress bar
emacs_shell=`echo $INSIDE_EMACS | grep comint`
if [ "$emacs_shell" != "" ] ; then
    export BZR_USE_TEXT_UI=1
    export BZR_PROGRESS_BAR=tty
fi

        Vincent
Matthieu Moy | 1 Mar 2009 22:43
Picon
Picon
Favicon

Re: [BUG] bzr: progress bar junk in output buffers

Samuel Bronson <naesten <at> gmail.com> writes:

> When I do a commit or a pull, junk related to progress reporting shows
> up in the output buffers. I think this could be disabled by setting
> BZR_PROGRESS_BAR="none" in the environment ?

Hmm, strange: It's supposed to be already the case
(bzr-prepare-environment should be called by dvc-run-dvc-a?sync).

--

-- 
Matthieu
Samuel Bronson | 1 Mar 2009 22:52
Picon
Gravatar

a couple of small patches

I've got a couple of changes for you: (Try to bear with my unusual
submission format -- I'm used to darcs and the idea of sending patches
off without first committing is a bit strange to me)

   revno: 531
   committer: Samuel Bronson <naesten <at> gmail.com>
   timestamp: Sun 2009-03-01 15:34:19 -0500
   branch nick: dvc
   message: Make the CNT argument to xgit-log optional like the docstring says.

   revno: 530
   committer: Samuel Bronson <naesten <at> gmail.com>
   timestamp: Sun 2009-03-01 15:20:46 -0500
   branch nick: dvc
   message: Steal links to mailing list from XSteve's DVC page.
Attachment (miscchanges.bzrbundle): application/octet-stream, 3571 bytes
_______________________________________________
Dvc-dev mailing list
Dvc-dev <at> gna.org
https://mail.gna.org/listinfo/dvc-dev
Stefan Reichör | 1 Mar 2009 22:59
Picon

[commit] rev 530: Merged two small patches from Samuel Bronson

Committed revision 530 to http://bzr.xsteve.at/dvc/

Merged two small patches from Samuel Bronson
    ------------------------------------------------------------
    revno: 529.1.2
    committer: Samuel Bronson <naesten <at> gmail.com>
    branch nick: dvc
    timestamp: Sun 2009-03-01 15:34:19 -0500
    message:
      Make the CNT argument to xgit-log optional like the docstring says.
    ------------------------------------------------------------
    revno: 529.1.1
    committer: Samuel Bronson <naesten <at> gmail.com>
    branch nick: dvc
    timestamp: Sun 2009-03-01 15:20:46 -0500
    message:
      Steal links to mailing list from XSteve's DVC page.
Stefan Reichör | 1 Mar 2009 23:01
Picon

Re: a couple of small patches

Hi Samuel!

> I've got a couple of changes for you: (Try to bear with my unusual
> submission format -- I'm used to darcs and the idea of sending patches
> off without first committing is a bit strange to me)
>
>    revno: 531
>    committer: Samuel Bronson <naesten <at> gmail.com>
>    timestamp: Sun 2009-03-01 15:34:19 -0500
>    branch nick: dvc
>    message: Make the CNT argument to xgit-log optional like the docstring says.
>
>    revno: 530
>    committer: Samuel Bronson <naesten <at> gmail.com>
>    timestamp: Sun 2009-03-01 15:20:46 -0500
>    branch nick: dvc
>    message: Steal links to mailing list from XSteve's DVC page.

Thanks for your patches. Nice to see a new contributor ;-)

Stefan.
thierry.volpiatto | 2 Mar 2009 08:13
Face
Picon
Gravatar

xgit-log

Hi,
last patch break xgit-log:
AFAIK we can't use _&opt_:
It is not in the elisp manual.
Anyway that break xgit-log.
But with _&optional_ it work fine:

,----[ That is working ]
| (defun* xgit-log (dir &optional cnt &key log-regexp diff-match rev file since)
`----

,----[ But this is NOT working: ]
| 
| (defun* xgit-log (dir &opt cnt &key log-regexp diff-match rev file since)
|                       ^^^^
`----

Though it work fine also with old version without optional arg because:

,----
| (count (format "--max-count=%s" (or cnt xgit-log-max-count)))
|                                  ^^
`----

--

-- 
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France
Stefan Reichör | 2 Mar 2009 21:43
Picon

[commit] rev 531: Patch from Thierry Volpiatto: Implemented xgit-push, small fix for xgit-log

Committed revision 531 to http://bzr.xsteve.at/dvc/

Patch from Thierry Volpiatto: Implemented xgit-push, small fix for xgit-log
Samuel Bronson | 2 Mar 2009 23:03
Picon
Gravatar

[bug] bzr: pressing RET on a remote revision in *bzr-missing* buffer fails

In *Messages*, I get:

dvc-default-error-function: `bzr log --revision 531' failed with code 3

In *dvc-error*, I get:

bzr: ERROR: Requested revision: u'531' does not exist in branch:
BzrBranch6('file:///home/naesten/.emacs/dvc/')

It looks like the wrong branch has been associated with the revlog
entry; I found this in the buffer's dvc-revlist-cookie:

(entry-patch
 [cl-struct-dvc-revlist-entry-patch bzr t
				    [cl-struct-bzr-revision-st 531 "Patch from Thierry Volpiatto:
Implemented xgit-push, small fix for xgit-log" "Stefan Reichoer
<stefan <at> xsteve.at>" "dvc-main" "Mon 2009-03-02 21:43:26 +0100" nil]
				    (bzr
				     (revision
				      (local "/home/naesten/.emacs/dvc/" 531)))
				    nil nil nil])

Gmane