Hello Travis!

> Awesome, getting much closer.  I've created bookmarks for my repos and
> figured out how to get all the pushing configured.
>
> I do have one question: Since the push location URLs exist in the project
> hgrc file, could this piece be automated (at least for mercurial projects),
> or is it an architectural issue?

At the moment the push location is taken from the bookmarks. The
bookmarks are the abstraction that is valid for all dvc backends.

It would be possible to write a function that extractes the push
location from a .hgrc file and adds it to the bookmarks...


Stefan.

> tj
>
> On Thu, Dec 30, 2010 at 4:05 PM, Stefan Reichör <ste...@xsteve.at> wrote:
>
>> Hello Travis!
>>
>> > When I try to do a push, nothing happens (no messages, nothing). This
>> > happens regardless of whether I use the short-cut or the actual dvc-push
>> > command.  I have successfully committed files and done a pull using dvc,
>> so
>> > things are hooked up correctly.
>> >
>> > Does dvc not support "hg push" yet?  If so, any ideas on how I should go
>> > about debugging this?
>> >
>> > Thanks, and again, awesome product. I really didn't want to learn
>> different
>> > tools for git and mercurial. :)
>>
>> This is the definition of dvc-push:
>>
>> (defun dvc-push ()
>>  "Push changes to a remote location."
>>  (interactive)
>>  (let ((bookmarked-locations (dvc-bookmarks-current-push-locations)))
>>    (when bookmarked-locations
>>      (dolist (location bookmarked-locations)
>>        (message "pushing to: %s" location)
>>        (dvc-call "dvc-push" location)))))
>>
>> It uses the bookmark feature. Push only works when you add your project
>> and the push location to the dvc bookmarks!
>>
>> Stefan.
>>

_______________________________________________
Dvc-dev mailing list
Dvc-dev@gna.org
https://mail.gna.org/listinfo/dvc-dev

Reply via email to