unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* vc-dir does not show missing revisions for bzr
@ 2011-02-02 21:25 Sam Steingold
  2011-02-03 16:17 ` Dan Nicolaescu
  0 siblings, 1 reply; 8+ messages in thread
From: Sam Steingold @ 2011-02-02 21:25 UTC (permalink / raw)
  To: emacs-devel

GNU Emacs 24.0.50.7 (x86_64-unknown-linux-gnu, GTK+ Version 2.10.4)
 of 2011-02-02 on tbox

vc-dir for cvs & svn show "need-update" status for file which would be
changed by the next `vc-pull'.
it would be nice if bzr/hg/git did the same.

-- 
Sam Steingold (http://sds.podval.org/) on CentOS release 5.3 (Final)
http://www.PetitionOnline.com/tap12009/ http://pmw.org.il
http://iris.org.il http://jihadwatch.org http://dhimmi.com
I am always late to my punctuality class.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: vc-dir does not show missing revisions for bzr
  2011-02-02 21:25 vc-dir does not show missing revisions for bzr Sam Steingold
@ 2011-02-03 16:17 ` Dan Nicolaescu
  2011-02-03 19:41   ` Sam Steingold
  0 siblings, 1 reply; 8+ messages in thread
From: Dan Nicolaescu @ 2011-02-03 16:17 UTC (permalink / raw)
  To: emacs-devel

Sam Steingold <sds@gnu.org> writes:

> GNU Emacs 24.0.50.7 (x86_64-unknown-linux-gnu, GTK+ Version 2.10.4)
>  of 2011-02-02 on tbox
>
> vc-dir for cvs & svn show "need-update" status for file which would be
> changed by the next `vc-pull'.
> it would be nice if bzr/hg/git did the same.

vc-dir just displays the results of cvs/svn status".
If there's a command/sequence of commands that can produce the list of
files you want, then vc-dir could be changed to show it.

[Not exactly the same thing, but using C-x v I shows the list of
upstream changes...]



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: vc-dir does not show missing revisions for bzr
  2011-02-03 16:17 ` Dan Nicolaescu
@ 2011-02-03 19:41   ` Sam Steingold
  2011-02-03 21:22     ` Eli Zaretskii
  2011-02-04 16:57     ` Dan Nicolaescu
  0 siblings, 2 replies; 8+ messages in thread
From: Sam Steingold @ 2011-02-03 19:41 UTC (permalink / raw)
  To: emacs-devel

> * Dan Nicolaescu <qnaa@tah.bet> [2011-02-03 11:17:41 -0500]:
>
> Sam Steingold <sds@gnu.org> writes:
>
>> GNU Emacs 24.0.50.7 (x86_64-unknown-linux-gnu, GTK+ Version 2.10.4)
>>  of 2011-02-02 on tbox
>>
>> vc-dir for cvs & svn show "need-update" status for file which would be
>> changed by the next `vc-pull'.
>> it would be nice if bzr/hg/git did the same.
>
> vc-dir just displays the results of cvs/svn status".
> If there's a command/sequence of commands that can produce the list of
> files you want, then vc-dir could be changed to show it.

yeah, here the fundamental difference between cvs/svn and hg/git/bzr
strikes again...

> [Not exactly the same thing, but using C-x v I shows the list of
> upstream changes...]

cool, thanks!

alas, it creates a *vc-incoming* buffer where "D" does not work:
the *vc-diff* buffer says:
bzr: ERROR: Requested revision: u'103104' does not exist in branch: BzrBranch7('file:///home2/sds/src/emacs/trunk/')



PS. I am seeing these all the time: C-x v d

Debugger entered--Lisp error: (error "Running bzr shelve --list -q ....FAILED (status 3)")
  signal(error ("Running bzr shelve --list -q ....FAILED (status 3)"))
  error("Running %s...FAILED (%s)" "bzr shelve --list -q ." "status 3")
  vc-do-command(#<buffer  *temp*> 1 "bzr" nil "shelve" "--list" "-q")
  apply(vc-do-command #<buffer  *temp*> 1 "bzr" nil "shelve" ("--list" "-q"))
  vc-bzr-command("shelve" #<buffer  *temp*> 1 nil "--list" "-q")
  vc-bzr-shelve-list()
  vc-bzr-dir-extra-headers("/home2/sds/src/emacs/trunk/")
  apply(vc-bzr-dir-extra-headers "/home2/sds/src/emacs/trunk/")
  vc-call-backend(Bzr dir-extra-headers "/home2/sds/src/emacs/trunk/")
  vc-dir-headers(Bzr "/home2/sds/src/emacs/trunk/")
  vc-dir-refresh()
  vc-dir-mode()
  vc-dir("/home2/sds/src/emacs/trunk/" nil)
  call-interactively(vc-dir nil nil)

(insert-buffer " *temp*")
bzr: ERROR: Could not acquire lock "/home2/sds/src/emacs/trunk/.bzr/checkout/dirstate": [Errno 11] Resource temporarily unavailable



  
-- 
Sam Steingold (http://sds.podval.org/) on CentOS release 5.3 (Final)
http://dhimmi.com http://openvotingconsortium.org http://thereligionofpeace.com
http://iris.org.il http://www.memritv.org http://truepeace.org http://ffii.org
Democrats, get out of my wallet! Republicans, get out of my bedroom!




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: vc-dir does not show missing revisions for bzr
  2011-02-03 19:41   ` Sam Steingold
@ 2011-02-03 21:22     ` Eli Zaretskii
  2011-02-03 22:00       ` Sam Steingold
  2011-02-04 16:57     ` Dan Nicolaescu
  1 sibling, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2011-02-03 21:22 UTC (permalink / raw)
  To: sds; +Cc: emacs-devel

> From: Sam Steingold <sds@gnu.org>
> Date: Thu, 03 Feb 2011 14:41:45 -0500
> 
> PS. I am seeing these all the time: C-x v d
> 
> Debugger entered--Lisp error: (error "Running bzr shelve --list -q ....FAILED (status 3)")
>   signal(error ("Running bzr shelve --list -q ....FAILED (status 3)"))
>   error("Running %s...FAILED (%s)" "bzr shelve --list -q ." "status 3")
>   vc-do-command(#<buffer  *temp*> 1 "bzr" nil "shelve" "--list" "-q")
>   apply(vc-do-command #<buffer  *temp*> 1 "bzr" nil "shelve" ("--list" "-q"))
>   vc-bzr-command("shelve" #<buffer  *temp*> 1 nil "--list" "-q")
>   vc-bzr-shelve-list()
>   vc-bzr-dir-extra-headers("/home2/sds/src/emacs/trunk/")
>   apply(vc-bzr-dir-extra-headers "/home2/sds/src/emacs/trunk/")
>   vc-call-backend(Bzr dir-extra-headers "/home2/sds/src/emacs/trunk/")
>   vc-dir-headers(Bzr "/home2/sds/src/emacs/trunk/")
>   vc-dir-refresh()
>   vc-dir-mode()
>   vc-dir("/home2/sds/src/emacs/trunk/" nil)
>   call-interactively(vc-dir nil nil)
> 
> (insert-buffer " *temp*")
> bzr: ERROR: Could not acquire lock "/home2/sds/src/emacs/trunk/.bzr/checkout/dirstate": [Errno 11] Resource temporarily unavailable

Is the branch locked by some other bzr command running in parallel?



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: vc-dir does not show missing revisions for bzr
  2011-02-03 21:22     ` Eli Zaretskii
@ 2011-02-03 22:00       ` Sam Steingold
  2011-02-04  8:19         ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Sam Steingold @ 2011-02-03 22:00 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

> * Eli Zaretskii <ryvm@tah.bet> [2011-02-03 23:22:01 +0200]:
>
>> From: Sam Steingold <sds@gnu.org>
>> Date: Thu, 03 Feb 2011 14:41:45 -0500
>> 
>> PS. I am seeing these all the time: C-x v d
>> 
>> Debugger entered--Lisp error: (error "Running bzr shelve --list -q ....FAILED (status 3)")
>>   signal(error ("Running bzr shelve --list -q ....FAILED (status 3)"))
>>   error("Running %s...FAILED (%s)" "bzr shelve --list -q ." "status 3")
>>   vc-do-command(#<buffer  *temp*> 1 "bzr" nil "shelve" "--list" "-q")
>>   apply(vc-do-command #<buffer  *temp*> 1 "bzr" nil "shelve" ("--list" "-q"))
>>   vc-bzr-command("shelve" #<buffer  *temp*> 1 nil "--list" "-q")
>>   vc-bzr-shelve-list()
>>   vc-bzr-dir-extra-headers("/home2/sds/src/emacs/trunk/")
>>   apply(vc-bzr-dir-extra-headers "/home2/sds/src/emacs/trunk/")
>>   vc-call-backend(Bzr dir-extra-headers "/home2/sds/src/emacs/trunk/")
>>   vc-dir-headers(Bzr "/home2/sds/src/emacs/trunk/")
>>   vc-dir-refresh()
>>   vc-dir-mode()
>>   vc-dir("/home2/sds/src/emacs/trunk/" nil)
>>   call-interactively(vc-dir nil nil)
>> 
>> (insert-buffer " *temp*")
>> bzr: ERROR: Could not acquire lock
>> "/home2/sds/src/emacs/trunk/.bzr/checkout/dirstate": [Errno 11]
>> Resource temporarily unavailable
>
> Is the branch locked by some other bzr command running in parallel?

nope. all the bzr commands are started by C-x v d

-- 
Sam Steingold (http://sds.podval.org/) on CentOS release 5.3 (Final)
http://thereligionofpeace.com http://dhimmi.com http://camera.org
http://pmw.org.il http://palestinefacts.org http://truepeace.org
If You Want Breakfast In Bed, Sleep In the Kitchen.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: vc-dir does not show missing revisions for bzr
  2011-02-03 22:00       ` Sam Steingold
@ 2011-02-04  8:19         ` Eli Zaretskii
  0 siblings, 0 replies; 8+ messages in thread
From: Eli Zaretskii @ 2011-02-04  8:19 UTC (permalink / raw)
  To: sds; +Cc: emacs-devel

> From: Sam Steingold <sds@gnu.org>
> Cc: emacs-devel@gnu.org
> Date: Thu, 03 Feb 2011 17:00:59 -0500
> 
> > * Eli Zaretskii <ryvm@tah.bet> [2011-02-03 23:22:01 +0200]:
> >
> >> From: Sam Steingold <sds@gnu.org>
> >> Date: Thu, 03 Feb 2011 14:41:45 -0500
> >> 
> >> PS. I am seeing these all the time: C-x v d
> >> 
> >> Debugger entered--Lisp error: (error "Running bzr shelve --list -q ....FAILED (status 3)")
> >>   signal(error ("Running bzr shelve --list -q ....FAILED (status 3)"))
> >>   error("Running %s...FAILED (%s)" "bzr shelve --list -q ." "status 3")
> >>   vc-do-command(#<buffer  *temp*> 1 "bzr" nil "shelve" "--list" "-q")
> >>   apply(vc-do-command #<buffer  *temp*> 1 "bzr" nil "shelve" ("--list" "-q"))
> >>   vc-bzr-command("shelve" #<buffer  *temp*> 1 nil "--list" "-q")
> >>   vc-bzr-shelve-list()
> >>   vc-bzr-dir-extra-headers("/home2/sds/src/emacs/trunk/")
> >>   apply(vc-bzr-dir-extra-headers "/home2/sds/src/emacs/trunk/")
> >>   vc-call-backend(Bzr dir-extra-headers "/home2/sds/src/emacs/trunk/")
> >>   vc-dir-headers(Bzr "/home2/sds/src/emacs/trunk/")
> >>   vc-dir-refresh()
> >>   vc-dir-mode()
> >>   vc-dir("/home2/sds/src/emacs/trunk/" nil)
> >>   call-interactively(vc-dir nil nil)
> >> 
> >> (insert-buffer " *temp*")
> >> bzr: ERROR: Could not acquire lock
> >> "/home2/sds/src/emacs/trunk/.bzr/checkout/dirstate": [Errno 11]
> >> Resource temporarily unavailable
> >
> > Is the branch locked by some other bzr command running in parallel?
> 
> nope. all the bzr commands are started by C-x v d

Can you look in your ~/.bzr.log, and see what commands were running at
that time, and which one failed and why?



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: vc-dir does not show missing revisions for bzr
  2011-02-03 19:41   ` Sam Steingold
  2011-02-03 21:22     ` Eli Zaretskii
@ 2011-02-04 16:57     ` Dan Nicolaescu
  2011-02-04 21:16       ` Stefan Monnier
  1 sibling, 1 reply; 8+ messages in thread
From: Dan Nicolaescu @ 2011-02-04 16:57 UTC (permalink / raw)
  To: emacs-devel; +Cc: sds

Sam Steingold <sds@gnu.org> writes:

> yeah, here the fundamental difference between cvs/svn and hg/git/bzr
> strikes again...
>
>> [Not exactly the same thing, but using C-x v I shows the list of
>> upstream changes...]
>
> cool, thanks!
>
> alas, it creates a *vc-incoming* buffer where "D" does not work:
> the *vc-diff* buffer says:
> bzr: ERROR: Requested revision: u'103104' does not exist in branch: BzrBranch7('file:///home2/sds/src/emacs/trunk/')

AFAIK bzr does not have a way to show those incoming diffs.
[It works in git and hg].



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: vc-dir does not show missing revisions for bzr
  2011-02-04 16:57     ` Dan Nicolaescu
@ 2011-02-04 21:16       ` Stefan Monnier
  0 siblings, 0 replies; 8+ messages in thread
From: Stefan Monnier @ 2011-02-04 21:16 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: sds, emacs-devel

>> yeah, here the fundamental difference between cvs/svn and hg/git/bzr
>> strikes again...
>> 
>>> [Not exactly the same thing, but using C-x v I shows the list of
>>> upstream changes...]
>> 
>> cool, thanks!
>> 
>> alas, it creates a *vc-incoming* buffer where "D" does not work:
>> the *vc-diff* buffer says:
>> bzr: ERROR: Requested revision: u'103104' does not exist in branch:
>> BzrBranch7('file:///home2/sds/src/emacs/trunk/')

> AFAIK bzr does not have a way to show those incoming diffs.
> [It works in git and hg].

IIUC you can do it in Bzr, but you'll have to provide the URL to the
corresponding branch.


        Stefan



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-02-04 21:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-02 21:25 vc-dir does not show missing revisions for bzr Sam Steingold
2011-02-03 16:17 ` Dan Nicolaescu
2011-02-03 19:41   ` Sam Steingold
2011-02-03 21:22     ` Eli Zaretskii
2011-02-03 22:00       ` Sam Steingold
2011-02-04  8:19         ` Eli Zaretskii
2011-02-04 16:57     ` Dan Nicolaescu
2011-02-04 21:16       ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).